diff --git a/src/public/app/widgets/shared_switch.js b/src/public/app/widgets/shared_switch.js index 913e1020b..f9fbd000a 100644 --- a/src/public/app/widgets/shared_switch.js +++ b/src/public/app/widgets/shared_switch.js @@ -4,6 +4,10 @@ import server from "../services/server.js"; import utils from "../services/utils.js"; export default class SharedSwitchWidget extends SwitchWidget { + isEnabled() { + return super.isEnabled() && this.noteId !== 'root' && this.noteId !== 'share'; + } + doRender() { super.doRender();