chore: fix current tag selection on vault display option change
This commit is contained in:
@@ -206,6 +206,11 @@ export class NavigationController
|
|||||||
this.tags = this.items.getDisplayableTags()
|
this.tags = this.items.getDisplayableTags()
|
||||||
this.starredTags = this.tags.filter((tag) => tag.starred)
|
this.starredTags = this.tags.filter((tag) => tag.starred)
|
||||||
this.smartViews = this.items.getSmartViews()
|
this.smartViews = this.items.getSmartViews()
|
||||||
|
if (this.selectedUuid) {
|
||||||
|
this.findAndSetTag(this.selectedUuid)
|
||||||
|
} else {
|
||||||
|
this.selectHomeNavigationView().catch(console.error)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user