diff options
Diffstat (limited to 'src/components/settings_modal/helpers/boolean_setting.vue')
| -rw-r--r-- | src/components/settings_modal/helpers/boolean_setting.vue | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/components/settings_modal/helpers/boolean_setting.vue b/src/components/settings_modal/helpers/boolean_setting.vue index 3089c3b3..5ddf5aad 100644 --- a/src/components/settings_modal/helpers/boolean_setting.vue +++ b/src/components/settings_modal/helpers/boolean_setting.vue @@ -10,16 +10,16 @@ @update:modelValue="update" > <span - v-if="!!$slots.default" class="label" :class="{ 'faint': shouldBeDisabled }" > <template v-if="backendDescriptionLabel"> {{ backendDescriptionLabel }} </template> - <template v-else> - <slot /> + <template v-else-if="source === 'admin'"> + MISSING LABEL FOR {{ path }} </template> + <slot v-else /> </span> </Checkbox> <ModifiedIndicator @@ -35,6 +35,16 @@ > {{ backendDescriptionDescription + ' ' }} </p> + <!-- debugging --> + <!-- + <p + v-else + class="setting-description" + :class="{ 'faint': shouldBeDisabled }" + > + MISSING DESCRIPTION FOR {{ path }} + </p> + --> </label> </template> |
