mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
bookmarks use cloning
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user