setting admin settings works now. also now we have draftable settings

This commit is contained in:
Henry Jameson 2023-03-16 23:18:55 +02:00
commit bfd802ad04
14 changed files with 285 additions and 46 deletions

View file

@ -4,7 +4,7 @@
class="BooleanSetting"
>
<Checkbox
:model-value="state"
:model-value="draftMode ? draft :state"
:disabled="shouldBeDisabled"
@update:modelValue="update"
>
@ -20,6 +20,7 @@
:onclick="reset"
/>
<ProfileSettingIndicator :is-profile="isProfileSetting" />
<DraftButtons />
</Checkbox>
</label>
</template>