diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2019-02-18 19:19:19 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-02-18 19:19:19 +0300 |
commit | fe10964a6884162b9272ec3a32a5736c2a997ab2 (patch) | |
tree | a425e6192d3c25975596f6535d062741223c3058 /app/assets/javascripts/diffs/store | |
parent | 22264555b141d8baf1260a919fb76c3ed88b1055 (diff) | |
parent | 512f9624fa8b47480da4cd0a69a493d7ccecc65a (diff) |
Merge branch 'fix-diffs-not-rendering' into 'master'
Fix diff files not rendering
See merge request gitlab-org/gitlab-ce!25358
Diffstat (limited to 'app/assets/javascripts/diffs/store')
-rw-r--r-- | app/assets/javascripts/diffs/store/actions.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/diffs/store/actions.js b/app/assets/javascripts/diffs/store/actions.js index c37a5c3a45f..82ff2e3be76 100644 --- a/app/assets/javascripts/diffs/store/actions.js +++ b/app/assets/javascripts/diffs/store/actions.js @@ -131,6 +131,8 @@ export const startRenderDiffsQueue = ({ state, commit }) => { return checkItem(); }; +export const setRenderIt = ({ commit }, file) => commit(types.RENDER_FILE, file); + export const setInlineDiffViewType = ({ commit }) => { commit(types.SET_DIFF_VIEW_TYPE, INLINE_DIFF_VIEW_TYPE); |