mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 02:02:29 +08: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' });
|
|
});
|
|
}
|