Merge branch 'fix/poll-option-delete' into 'develop'
Fix #903: update poll to post-status-form on deleting option Closes #903 See merge request pleroma/pleroma-fe!1204
This commit is contained in:
commit
5be55b6162
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