mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
many small fixes from Intellij analysis
This commit is contained in:
@@ -20,7 +20,7 @@ export default class ProtectedNoteSwitchWidget extends SwitchWidget {
|
||||
protectedSessionService.protectNote(this.noteId, false, false)
|
||||
}
|
||||
|
||||
refreshWithNote(note) {
|
||||
async refreshWithNote(note) {
|
||||
this.$switchOn.toggle(!note.isProtected);
|
||||
this.$switchOff.toggle(!!note.isProtected);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user