diff options
author | dartcafe <github@dartcafe.de> | 2022-09-21 23:25:12 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2022-09-21 23:25:12 +0300 |
commit | 7134eb178c60efe256783ca7e676ca741b75bd56 (patch) | |
tree | 4b8ec6d64ef7e5c30fe398a02d0f693a7afd104a /src/js/components/Options | |
parent | bb1ae6bf2e592b96082dbb8365eb3a4e3e22f8b5 (diff) |
fix NcEmptyContent title
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/Options')
-rw-r--r-- | src/js/components/Options/OptionsDate.vue | 6 | ||||
-rw-r--r-- | src/js/components/Options/OptionsText.vue | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/src/js/components/Options/OptionsDate.vue b/src/js/components/Options/OptionsDate.vue index 292b8a60..6d2c3fbe 100644 --- a/src/js/components/Options/OptionsDate.vue +++ b/src/js/components/Options/OptionsDate.vue @@ -62,16 +62,14 @@ </OptionItem> </transition-group> - <NcEmptyContent v-else> + <NcEmptyContent v-else :title="t('polls', 'No vote options')"> <template #icon> <DatePollIcon /> </template> - <template #desc> + <template #action> {{ t('polls', 'Add some!') }} </template> - - {{ t('polls', 'No vote options') }} </NcEmptyContent> <NcModal v-if="cloneModal" size="small" :can-close="false"> diff --git a/src/js/components/Options/OptionsText.vue b/src/js/components/Options/OptionsText.vue index a990550c..f51442f0 100644 --- a/src/js/components/Options/OptionsText.vue +++ b/src/js/components/Options/OptionsText.vue @@ -58,16 +58,14 @@ </transition-group> </draggable> - <NcEmptyContent v-else> + <NcEmptyContent v-else :title="t('polls', 'No vote options')"> <template #icon> <TextPollIcon /> </template> - <template #desc> + <template #action> {{ t('polls', 'Add some!') }} </template> - - {{ t('polls', 'No vote options') }} </NcEmptyContent> </div> </template> |