mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
when leaving protected session don't forget to reset note cache (titles), #1810
This commit is contained in:
@@ -177,6 +177,10 @@ eventService.subscribe(eventService.ENTER_PROTECTED_SESSION, () => {
|
||||
}
|
||||
});
|
||||
|
||||
eventService.subscribe(eventService.LEAVE_PROTECTED_SESSION, () => {
|
||||
load();
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
load
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user