forked from AkkomaGang/akkoma-fe
update poll to post status form on deleting option
This commit is contained in:
parent
9726edd8c0
commit
f9e4afa3e9
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue