chore: fix current tag selection on vault display option change

This commit is contained in:
Aman Harwara
2023-09-12 16:42:01 +05:30
parent 6f6600ebd6
commit 57265d1d4e

View File

@@ -206,6 +206,11 @@ export class NavigationController
this.tags = this.items.getDisplayableTags()
this.starredTags = this.tags.filter((tag) => tag.starred)
this.smartViews = this.items.getSmartViews()
if (this.selectedUuid) {
this.findAndSetTag(this.selectedUuid)
} else {
this.selectHomeNavigationView().catch(console.error)
}
})
}