Allow confirmation on closing reply form
This commit is contained in:
parent
b27f696d77
commit
fb87477298
11 changed files with 170 additions and 14 deletions
|
|
@ -473,6 +473,13 @@ const Status = {
|
|||
},
|
||||
toggleReplying () {
|
||||
this.$emit('interacted')
|
||||
if (this.replying) {
|
||||
this.$refs.postStatusForm.requestClose()
|
||||
} else {
|
||||
this.doToggleReplying()
|
||||
}
|
||||
},
|
||||
doToggleReplying () {
|
||||
controlledOrUncontrolledToggle(this, 'replying')
|
||||
},
|
||||
gotoOriginal (id) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue