Skip to content

Commit

Permalink
Pass data to this.$parent.$emit in Editor.vue
Browse files Browse the repository at this point in the history
Fixes handling of attachment deletion in Collectives.

Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- authored and backportbot-nextcloud[bot] committed May 2, 2023
1 parent b554a13 commit fd7ba58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ export default {
*/
emit(event, data) {
this.$emit(event, data)
this.$parent?.$emit(event, true)
this.$parent?.$emit(event, data)
},

/** @param {Event} event The passed event */
Expand Down

0 comments on commit fd7ba58

Please sign in to comment.