Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2022-05-27 22:24:44 +0300
committerdartcafe <github@dartcafe.de>2022-05-27 22:24:44 +0300
commit54f8ff75da256c3613b473aa50aa3afc7cab8973 (patch)
tree7fb472690154cdbaff3c77c163e2bb5f4b433a01 /src/js/components/Options/OptionsDate.vue
parentc6717a07991928c9dd289a7d1d08c9a6e4aeff17 (diff)
Replacing css icons with md components
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/Options/OptionsDate.vue')
-rw-r--r--src/js/components/Options/OptionsDate.vue12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/js/components/Options/OptionsDate.vue b/src/js/components/Options/OptionsDate.vue
index 96b09b5e..707e8ab6 100644
--- a/src/js/components/Options/OptionsDate.vue
+++ b/src/js/components/Options/OptionsDate.vue
@@ -62,11 +62,16 @@
</OptionItem>
</transition-group>
- <EmptyContent v-else :icon="pollTypeIcon">
- {{ t('polls', 'No vote options') }}
+ <EmptyContent v-else>
+ <template #icon>
+ <DatePollIcon />
+ </template>
+
<template #desc>
{{ t('polls', 'Add some!') }}
</template>
+
+ {{ t('polls', 'No vote options') }}
</EmptyContent>
<Modal v-if="cloneModal" size="small" :can-close="false">
@@ -86,6 +91,7 @@ import { dateUnits } from '../../mixins/dateMixins.js'
import CloneDateIcon from 'vue-material-design-icons/CalendarMultiple.vue'
import UnconfirmIcon from 'vue-material-design-icons/CheckboxMarkedOutline.vue'
import ConfirmIcon from 'vue-material-design-icons/CheckboxBlankOutline.vue'
+import DatePollIcon from 'vue-material-design-icons/CalendarBlank.vue'
export default {
name: 'OptionsDate',
@@ -102,6 +108,7 @@ export default {
OptionCloneDate,
OptionItem,
VueButton,
+ DatePollIcon,
OptionItemOwner: () => import('./OptionItemOwner.vue'),
},
@@ -129,7 +136,6 @@ export default {
...mapGetters({
closed: 'poll/isClosed',
countOptions: 'options/count',
- pollTypeIcon: 'poll/typeIcon',
}),
},