aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings_modal/helpers/attachment_setting.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2023-05-08 21:10:06 +0300
committerHenry Jameson <me@hjkos.com>2023-05-08 21:10:06 +0300
commit05a7e612aa6d9f2a44eea22266b325933da6f5ad (patch)
tree7981cf17888d3f076fbebfa6bdc14859b1bf9205 /src/components/settings_modal/helpers/attachment_setting.vue
parentb9c69a2272219865ff7e5b35dd1a0df7ead16538 (diff)
show warning for developer for missing labels
Diffstat (limited to 'src/components/settings_modal/helpers/attachment_setting.vue')
-rw-r--r--src/components/settings_modal/helpers/attachment_setting.vue5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/settings_modal/helpers/attachment_setting.vue b/src/components/settings_modal/helpers/attachment_setting.vue
index 0bede2c2..447fa172 100644
--- a/src/components/settings_modal/helpers/attachment_setting.vue
+++ b/src/components/settings_modal/helpers/attachment_setting.vue
@@ -10,9 +10,10 @@
<template v-if="backendDescriptionLabel">
{{ backendDescriptionLabel + ' ' }}
</template>
- <template v-else>
- <slot />
+ <template v-else-if="source === 'admin'">
+ MISSING LABEL FOR {{ path }}
</template>
+ <slot v-else />
</label>
<p