default polls to 7 days

This commit is contained in:
Your New SJW Waifu 2020-10-21 13:34:13 -05:00
parent e1b324d718
commit b56b9a21d9
1 changed files with 4 additions and 4 deletions

View File

@ -7,8 +7,8 @@ export default {
data: () => ({ data: () => ({
pollType: 'single', pollType: 'single',
options: ['', ''], options: ['', ''],
expiryAmount: 10, expiryAmount: 7,
expiryUnit: 'minutes' expiryUnit: 'days'
}), }),
computed: { computed: {
pollLimits () { pollLimits () {
@ -48,8 +48,8 @@ export default {
clear () { clear () {
this.pollType = 'single' this.pollType = 'single'
this.options = ['', ''] this.options = ['', '']
this.expiryAmount = 10 this.expiryAmount = 7
this.expiryUnit = 'minutes' this.expiryUnit = 'days'
}, },
nextOption (index) { nextOption (index) {
const element = this.$el.querySelector(`#poll-${index + 1}`) const element = this.$el.querySelector(`#poll-${index + 1}`)