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>2021-03-22 01:20:44 +0300
committerdartcafe <github@dartcafe.de>2021-03-22 01:20:44 +0300
commitdb78dedbff1bfec6c7825735c421e00444f9361f (patch)
tree8866700d53247b1f560031dca5f5ea8846778798 /src/js/views/Vote.vue
parentf79662b62df5ae4b655f9446ecdabca09aaf7fb4 (diff)
maintenance and tidy
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/views/Vote.vue')
-rw-r--r--src/js/views/Vote.vue5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/js/views/Vote.vue b/src/js/views/Vote.vue
index d15079ac..527004d8 100644
--- a/src/js/views/Vote.vue
+++ b/src/js/views/Vote.vue
@@ -49,7 +49,7 @@
:class="expiryClass" />
<Badge v-if="!closed && poll.expire"
:title="t('polls', 'Closing {relativeExpirationTime}', {relativeExpirationTime: timeExpirationRelative})"
- icon="icon-calendar-000"
+ icon="icon-calendar"
:class="expiryClass" />
<Badge v-if="poll.deleted"
:title="t('polls', 'Deleted')"
@@ -69,7 +69,7 @@
<div class="area__main" :class="viewMode">
<VoteTable v-show="options.length" :view-mode="viewMode" :ranked="ranked" />
- <EmptyContent v-if="!options.length" icon="icon-toggle-filelist">
+ <EmptyContent v-if="!options.length" :icon="pollTypeIcon">
{{ t('polls', 'No vote options available') }}
<template #desc>
<button v-if="acl.allowEdit" @click="openOptions">
@@ -149,6 +149,7 @@ export default {
...mapGetters({
closed: 'poll/closed',
+ pollTypeIcon: 'poll/typeIcon',
}),
showEmailEdit() {