show warning for developer for missing labels

This commit is contained in:
Henry Jameson 2023-05-08 21:10:06 +03:00
commit 05a7e612aa
4 changed files with 22 additions and 9 deletions

View file

@ -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