possibly fix bug where sometimes poll is 10 minutes

This commit is contained in:
Fox 2023-07-21 23:51:13 +09:00
parent 73b1884d88
commit 033927c040

View file

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