Fix editing comments in the UI
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -142,8 +142,10 @@ export default {
|
||||
this.$store.dispatch('setReplyTo', this.comment)
|
||||
},
|
||||
showUpdateForm() {
|
||||
this.commentMsg = this.$refs.richTextElement.children[0].innerHTML
|
||||
this.edit = true
|
||||
this.$nextTick(() => {
|
||||
this.commentMsg = this.$refs.richTextElement.children[0].innerHTML
|
||||
})
|
||||
},
|
||||
hideUpdateForm() {
|
||||
this.commentMsg = ''
|
||||
|
||||
Reference in New Issue
Block a user