Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstance Okoghenun <constanceokoghenun@gmail.com>2019-02-18 10:16:13 +0300
committerConstance Okoghenun <constanceokoghenun@gmail.com>2019-02-18 10:16:13 +0300
commit5e137b58ca15f224a3b1b05999e6e689b463417a (patch)
tree6e76bdb0c5ef988cdb15172a580a56204f8fe404 /app/assets/javascripts/notes/stores/mutation_types.js
parent10094950bd5c7adff6888a7835f098a759af5ba4 (diff)
Cancelling reply reverts comment to initial state
When converting a comment to a discussion if the "Cancel" button is used to exit the new discussion note, the comment would revert back to its initial state
Diffstat (limited to 'app/assets/javascripts/notes/stores/mutation_types.js')
-rw-r--r--app/assets/javascripts/notes/stores/mutation_types.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/notes/stores/mutation_types.js b/app/assets/javascripts/notes/stores/mutation_types.js
index 2bffedad336..796370920bb 100644
--- a/app/assets/javascripts/notes/stores/mutation_types.js
+++ b/app/assets/javascripts/notes/stores/mutation_types.js
@@ -18,6 +18,7 @@ export const SET_NOTES_LOADING_STATE = 'SET_NOTES_LOADING_STATE';
export const DISABLE_COMMENTS = 'DISABLE_COMMENTS';
export const APPLY_SUGGESTION = 'APPLY_SUGGESTION';
export const CONVERT_TO_DISCUSSION = 'CONVERT_TO_DISCUSSION';
+export const REMOVE_CONVERTED_DISCUSSION = 'REMOVE_CONVERTED_DISCUSSION';
// DISCUSSION
export const COLLAPSE_DISCUSSION = 'COLLAPSE_DISCUSSION';