mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 08:15:52 +01:00
appContext is now component
This commit is contained in:
@@ -47,7 +47,7 @@ async function setupProtectedSession(password) {
|
||||
protectedSessionHolder.setProtectedSessionId(response.protectedSessionId);
|
||||
protectedSessionHolder.touchProtectedSession();
|
||||
|
||||
appContext.trigger('protectedSessionStarted');
|
||||
appContext.triggerEvent('protectedSessionStarted');
|
||||
|
||||
if (protectedSessionDeferred !== null) {
|
||||
import("../dialogs/protected_session.js").then(dialog => dialog.close());
|
||||
|
||||
Reference in New Issue
Block a user