default polls to 7 days
This commit is contained in:
parent
e1b324d718
commit
b56b9a21d9
|
@ -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}`)
|
||||||
|
|
Loading…
Reference in New Issue