mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
component => type widget refactoring
This commit is contained in:
@@ -60,6 +60,11 @@ class TabContext extends Component {
|
||||
|
||||
bundleService.executeRelationBundles(this.note, 'runOnNoteView', this);
|
||||
|
||||
if (this.note.isProtected && protectedSessionHolder.isProtectedSessionAvailable()) {
|
||||
// FIXME: there are probably more places where this should be done
|
||||
protectedSessionHolder.touchProtectedSession();
|
||||
}
|
||||
|
||||
this.trigger('tabNoteSwitched', {tabId: this.tabId});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user