Skip to content

Commit 79374f0

Browse files
committed
chore: fix Open button in duplicate toast not working correctly on mobile [skip e2e]
1 parent bfbf9ab commit 79374f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web/src/javascripts/Components/NotesOptions/NotesOptions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ const NotesOptions = ({ notes, closeMenu }: NotesOptionsProps) => {
179179
{
180180
label: 'Open',
181181
handler: (toastId) => {
182-
application.itemListController.selectItem(duplicated.uuid, true).catch(console.error)
182+
application.itemListController.selectUuids([duplicated.uuid], true).catch(console.error)
183183
dismissToast(toastId)
184184
},
185185
},

0 commit comments

Comments
 (0)