mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
touch protected session during note update
This commit is contained in:
@@ -69,10 +69,7 @@ class TabContext extends Component {
|
||||
}
|
||||
}, 5000);
|
||||
|
||||
if (this.note.isProtected && protectedSessionHolder.isProtectedSessionAvailable()) {
|
||||
// FIXME: there are probably more places where this should be done
|
||||
protectedSessionHolder.touchProtectedSession();
|
||||
}
|
||||
protectedSessionHolder.touchProtectedSessionIfNecessary(this.note);
|
||||
|
||||
if (triggerSwitchEvent) {
|
||||
this.triggerEvent('tabNoteSwitched', {
|
||||
|
||||
Reference in New Issue
Block a user