feat: item linking (#1779)
This commit is contained in:
@@ -394,10 +394,18 @@ export class NavigationController extends AbstractViewController {
|
||||
await this.setSelectedTag(this.homeNavigationView)
|
||||
}
|
||||
|
||||
public async selectFilesView() {
|
||||
await this.setSelectedTag(this.filesNavigationView)
|
||||
}
|
||||
|
||||
get homeNavigationView(): SmartView {
|
||||
return this.smartViews[0]
|
||||
}
|
||||
|
||||
get filesNavigationView(): SmartView {
|
||||
return this.smartViews.find((view) => view.uuid === SystemViewId.Files) as SmartView
|
||||
}
|
||||
|
||||
private setSelectedTagInstance(tag: AnyTag | undefined): void {
|
||||
runInAction(() => (this.selected_ = tag))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user