diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2018-09-03 17:43:35 +0200 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2018-09-07 12:25:50 +0200 |
commit | 173ecfc42b83eadbe5e28a3ac947f4f25f9d751d (patch) | |
tree | 8dc4185fb975a76e8a698712a3a13b2f3c7c221e /app/assets/javascripts/notes/components/noteable_note.vue | |
parent | 958cf02e91e7f715c2ce44a76dc264342fcadad0 (diff) | |
download | gitlab-ce-173ecfc42b83eadbe5e28a3ac947f4f25f9d751d.tar.gz |
Delete Discussions fix
Diffstat (limited to 'app/assets/javascripts/notes/components/noteable_note.vue')
-rw-r--r-- | app/assets/javascripts/notes/components/noteable_note.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/notes/components/noteable_note.vue b/app/assets/javascripts/notes/components/noteable_note.vue index 4ebeb5599f2..7579fc852c6 100644 --- a/app/assets/javascripts/notes/components/noteable_note.vue +++ b/app/assets/javascripts/notes/components/noteable_note.vue @@ -86,6 +86,7 @@ export default { // eslint-disable-next-line no-alert if (window.confirm('Are you sure you want to delete this comment?')) { this.isDeleting = true; + this.$emit('handleDeleteNote', this.note); this.deleteNote(this.note) .then(() => { |