update poll to post status form on deleting option
This commit is contained in:
parent
9726edd8c0
commit
f9e4afa3e9
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user