update poll to post status form on deleting option

This commit is contained in:
Shpuld Shpuldson 2020-07-24 17:24:34 +03:00
parent 9726edd8c0
commit f9e4afa3e9

View file

@ -75,6 +75,7 @@ export default {
deleteOption (index, event) { deleteOption (index, event) {
if (this.options.length > 2) { if (this.options.length > 2) {
this.options.splice(index, 1) this.options.splice(index, 1)
this.updatePollToParent()
} }
}, },
convertExpiryToUnit (unit, amount) { convertExpiryToUnit (unit, amount) {