chore: fix Open button in duplicate toast not working correctly on mobile [skip e2e]

This commit is contained in:
Aman Harwara
2024-02-17 14:34:29 +05:30
parent bfbf9ab8ce
commit 79374f017b

View File

@@ -179,7 +179,7 @@ const NotesOptions = ({ notes, closeMenu }: NotesOptionsProps) => {
{
label: 'Open',
handler: (toastId) => {
application.itemListController.selectItem(duplicated.uuid, true).catch(console.error)
application.itemListController.selectUuids([duplicated.uuid], true).catch(console.error)
dismissToast(toastId)
},
},