mirror of
https://github.com/zadam/trilium.git
synced 2025-12-29 02:34:25 +01:00
14 lines
416 B
JavaScript
14 lines
416 B
JavaScript
import utils from "../services/utils.js";
|
|
import appContext from "../services/app_context.js";
|
|
|
|
export function show() {
|
|
const $dialog = $("#password-not-set-dialog");
|
|
const $openPasswordOptionsButton = $("#open-password-options-button");
|
|
|
|
utils.openDialog($dialog);
|
|
|
|
$openPasswordOptionsButton.on("click", () => {
|
|
appContext.triggerCommand("showOptions", { openTab: 'password' });
|
|
});
|
|
}
|