Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,9 @@ export class ItemListController

log(LoggingDomain.Selection, 'Selecting next item after closing active one')
this.selectNextItem({ userTriggered: false })
} else if (this.paneController.isInMobileView && !this.itemManager.findItem(activeItem.uuid)) {
log(LoggingDomain.Selection, 'Navigating back to item list because active note was deleted remotely')
void this.paneController.setPaneLayout(PaneLayout.ItemSelection)
}
} else if (activeItem && this.shouldSelectActiveItem(activeItem)) {
log(LoggingDomain.Selection, 'Selecting active item')
Expand Down
Loading