bookmarks use cloning

This commit is contained in:
zadam
2022-12-04 13:16:05 +01:00
parent cd60ad4267
commit 27ce273d29
12 changed files with 832 additions and 200 deletions

View File

@@ -7,7 +7,8 @@ import dialogService from "../services/dialog.js";
export default class SharedSwitchWidget extends SwitchWidget {
isEnabled() {
return super.isEnabled() && this.noteId !== 'root' && this.noteId !== 'share';
return super.isEnabled()
&& !['root', 'share', 'hidden'].includes(this.noteId);
}
doRender() {