possibly fix bug where sometimes poll is 10 minutes

This commit is contained in:
Chizu 2023-07-21 14:52:19 +00:00
parent f74bcafbfb
commit c6552c34b0

View file

@ -62,8 +62,8 @@ export default {
clear () { clear () {
this.pollType = 'single' this.pollType = 'single'
this.options = ['', ''] this.options = ['', '']
this.expiryAmount = 10 this.expiryAmount = 24
this.expiryUnit = 'minutes' this.expiryUnit = 'hours'
}, },
nextOption (index) { nextOption (index) {
const element = this.$el.querySelector(`#poll-${index + 1}`) const element = this.$el.querySelector(`#poll-${index + 1}`)