Skip to content

Commit dd014c8

Browse files
authored
fix: Fixes issue where accessing a note from the command palette when not on the home list view causes view to switch to a different note when syncing (#2972)
1 parent e4c8aa0 commit dd014c8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ function CommandPalette() {
177177
return
178178
}
179179
if (decryptedItem instanceof SNNote) {
180+
void application.navigationController.selectHomeNavigationView()
180181
void application.itemListController.selectItemUsingInstance(decryptedItem, true)
181182
} else if (decryptedItem instanceof FileItem) {
182183
void application.filesController.handleFileAction({

0 commit comments

Comments
 (0)