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 09:28:30 +0300
commite31a91655de85b97905b9053b83e923566bd4f0c (patch)
tree703ecb27315031ef08e811f4ced4d319999af84d /src/js/components/PollList
parent26f90b4126abc3731d46bb4c735e872d690eaba6 (diff)
maintenance and tidy
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/PollList')
-rw-r--r--src/js/components/PollList/PollItem.vue10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/js/components/PollList/PollItem.vue b/src/js/components/PollList/PollItem.vue
index 8ff74858..9c098dbc 100644
--- a/src/js/components/PollList/PollItem.vue
+++ b/src/js/components/PollList/PollItem.vue
@@ -78,7 +78,7 @@
<div class="item__expiry">
<Badge
:title="timeExpirationRelative"
- :icon="expiryIcon"
+ icon="icon-calendar-000"
:class="expiryClass" />
</div>
</div>
@@ -176,13 +176,7 @@ export default {
return 'success'
}
},
- expiryIcon() {
- if (this.poll.expire) {
- return 'icon-calendar-000'
- } else {
- return 'icon-calendar-000'
- }
- },
+
timeCreatedRelative() {
return moment.unix(this.poll.created).fromNow()
},