diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-02-14 13:07:13 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-02-14 13:07:13 +0300 |
commit | f60734d3cb15492310820e6571c69e2f68939d16 (patch) | |
tree | c80ee2ec4e90979d40fa17c4faaf8fd106eb7d0d /spec/javascripts/helpers | |
parent | 4b2ba1a70e72d3e53a696d7c8c0ca0cedf0f95a7 (diff) |
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 'spec/javascripts/helpers')
-rw-r--r-- | spec/javascripts/helpers/vuex_action_helper.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/javascripts/helpers/vuex_action_helper.js b/spec/javascripts/helpers/vuex_action_helper.js index 1972408356e..88652202a8e 100644 --- a/spec/javascripts/helpers/vuex_action_helper.js +++ b/spec/javascripts/helpers/vuex_action_helper.js @@ -84,7 +84,10 @@ export default ( done(); }; - const result = action({ commit, state, dispatch, rootState: state, rootGetters: state }, payload); + const result = action( + { commit, state, dispatch, rootState: state, rootGetters: state, getters: state }, + payload, + ); return new Promise(resolve => { setImmediate(resolve); |