diff --git a/src/Components/Checkboxes.svelte b/src/Components/Checkboxes.svelte index c4b7c640..ff52514c 100644 --- a/src/Components/Checkboxes.svelte +++ b/src/Components/Checkboxes.svelte @@ -10,7 +10,6 @@ let selected = settings[settingName]; - let toNone = selected.length === 0 ? false : true; $: toNone = selected.length === 0 ? false : true; async function save() { diff --git a/src/Components/UserHierarchies.svelte b/src/Components/UserHierarchies.svelte index bf60afef..4791bfd6 100644 --- a/src/Components/UserHierarchies.svelte +++ b/src/Components/UserHierarchies.svelte @@ -10,6 +10,7 @@ import { hierToStr } from "../Utils/HierUtils"; export let plugin: BCPlugin; + const { settings } = plugin; let currHiers = [...plugin.settings.userHiers]; async function update(currHiers: UserHier[]) { @@ -80,7 +81,24 @@