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