summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/notes/stores/getters.js
diff options
context:
space:
mode:
authorHeinrich Lee Yu <heinrich@gitlab.com>2019-02-14 10:07:13 +0000
committerPhil Hughes <me@iamphill.com>2019-02-14 10:07:13 +0000
commitf60734d3cb15492310820e6571c69e2f68939d16 (patch)
treec80ee2ec4e90979d40fa17c4faaf8fd106eb7d0d /app/assets/javascripts/notes/stores/getters.js
parent4b2ba1a70e72d3e53a696d7c8c0ca0cedf0f95a7 (diff)
downloadgitlab-ce-f60734d3cb15492310820e6571c69e2f68939d16.tar.gz
Fix polling for replies to individual notes
Sets `updated_at` so that the transformed note is returned together with the new reply
Diffstat (limited to 'app/assets/javascripts/notes/stores/getters.js')
-rw-r--r--app/assets/javascripts/notes/stores/getters.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/notes/stores/getters.js b/app/assets/javascripts/notes/stores/getters.js
index 0ffc0cb2593..5026c13dab5 100644
--- a/app/assets/javascripts/notes/stores/getters.js
+++ b/app/assets/javascripts/notes/stores/getters.js
@@ -4,6 +4,8 @@ import { collapseSystemNotes } from './collapse_utils';
export const discussions = state => collapseSystemNotes(state.discussions);
+export const convertedDisscussionIds = state => state.convertedDisscussionIds;
+
export const targetNoteHash = state => state.targetNoteHash;
export const getNotesData = state => state.notesData;