diff options
author | Phil Hughes <me@iamphill.com> | 2018-05-03 12:39:22 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-05-03 12:39:22 +0100 |
commit | 93f0eb07c993fa5e424b0e803e972c93e6e444c5 (patch) | |
tree | 688ef47370dc56b81058f1fbee7261d807e7cbbd /app/assets/javascripts/ide/stores/modules | |
parent | efed5aed411237ea94e9530e3033119d75f44886 (diff) | |
parent | 9b8332d324c931798c30adf5517abda96212d5c3 (diff) | |
download | gitlab-ce-93f0eb07c993fa5e424b0e803e972c93e6e444c5.tar.gz |
Merge branch '44846-improve-web-ide-left-panel-and-modes' into ide-sidebar-commit-box
Diffstat (limited to 'app/assets/javascripts/ide/stores/modules')
-rw-r--r-- | app/assets/javascripts/ide/stores/modules/commit/actions.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/ide/stores/modules/commit/actions.js b/app/assets/javascripts/ide/stores/modules/commit/actions.js index 79ee2ea3619..ab00d12089d 100644 --- a/app/assets/javascripts/ide/stores/modules/commit/actions.js +++ b/app/assets/javascripts/ide/stores/modules/commit/actions.js @@ -177,6 +177,10 @@ export const commitChanges = ({ commit, state, getters, dispatch, rootState, roo } commit(rootTypes.CLEAR_STAGED_CHANGES, null, { root: true }); + + setTimeout(() => { + commit(rootTypes.SET_LAST_COMMIT_MSG, '', { root: true }); + }, 5000); }) .then(() => { if (rootGetters.lastOpenedFile) { |