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-10-15 01:09:04 +0300
committerdartcafe <github@dartcafe.de>2021-10-15 01:09:04 +0300
commiteb64a8c6c2b1ee373c81d3751e73ffbfce890496 (patch)
tree22e3adcacd8b2b62dbcb2f2ea9b93425e4166cb6 /src/js/components/Options/OptionsDate.vue
parent4b84b06e109182afae3980e3cb4961f0c2238cc2 (diff)
vue/no-unused-properties
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/Options/OptionsDate.vue')
-rw-r--r--src/js/components/Options/OptionsDate.vue11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/js/components/Options/OptionsDate.vue b/src/js/components/Options/OptionsDate.vue
index 42f81a6c..c34adb30 100644
--- a/src/js/components/Options/OptionsDate.vue
+++ b/src/js/components/Options/OptionsDate.vue
@@ -69,7 +69,6 @@
<script>
import { mapGetters, mapState } from 'vuex'
-import moment from '@nextcloud/moment'
import { Actions, ActionButton, EmptyContent, Modal } from '@nextcloud/vue'
import ActionDelete from '../Actions/ActionDelete'
import OptionCloneDate from './OptionCloneDate'
@@ -102,12 +101,6 @@ export default {
return {
cloneModal: false,
optionToClone: {},
- sequence: {
- baseOption: {},
- unit: { name: t('polls', 'Week'), value: 'week' },
- step: 1,
- amount: 1,
- },
}
},
@@ -123,10 +116,6 @@ export default {
countOptions: 'options/count',
pollTypeIcon: 'poll/typeIcon',
}),
-
- dateBaseOptionString() {
- return moment.unix(this.sequence.baseOption.timestamp).format('LLLL')
- },
},
methods: {