diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-06 15:09:11 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-06 15:09:11 +0000 |
commit | 0eb3d2f799ce4f4de87fb9fc6fd98e592323bc89 (patch) | |
tree | fd70d5bc63fe152e0a67aaa5a70e4c9f16dc6ffc /app/assets/javascripts/ide/stores/actions.js | |
parent | 5564275a0b378298dc6281599cbfe71a937109ff (diff) | |
download | gitlab-ce-0eb3d2f799ce4f4de87fb9fc6fd98e592323bc89.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/ide/stores/actions.js')
-rw-r--r-- | app/assets/javascripts/ide/stores/actions.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/assets/javascripts/ide/stores/actions.js b/app/assets/javascripts/ide/stores/actions.js index 34e7cc304dd..9bc008c0dd5 100644 --- a/app/assets/javascripts/ide/stores/actions.js +++ b/app/assets/javascripts/ide/stores/actions.js @@ -86,7 +86,6 @@ export const createTempEntry = ( dispatch('setFileActive', file.path); dispatch('triggerFilesChange'); - dispatch('burstUnusedSeal'); } if (parentPath && !state.entries[parentPath].opened) { @@ -175,12 +174,6 @@ export const updateTempFlagForEntry = ({ commit, dispatch, state }, { file, temp export const toggleFileFinder = ({ commit }, fileFindVisible) => commit(types.TOGGLE_FILE_FINDER, fileFindVisible); -export const burstUnusedSeal = ({ state, commit }) => { - if (state.unusedSeal) { - commit(types.BURST_UNUSED_SEAL); - } -}; - export const setLinks = ({ commit }, links) => commit(types.SET_LINKS, links); export const setErrorMessage = ({ commit }, errorMessage) => @@ -209,8 +202,6 @@ export const deleteEntry = ({ commit, dispatch, state }, path) => { return; } - dispatch('burstUnusedSeal'); - if (entry.opened) dispatch('closeFile', entry); if (isTree) { @@ -262,8 +253,6 @@ export const renameEntry = ({ dispatch, commit, state, getters }, { path, name, if (gon.features?.stageAllByDefault) commit(types.STAGE_CHANGE, { path: newPath, diffInfo: getters.getDiffInfo(newPath) }); else commit(types.ADD_FILE_TO_CHANGED, newPath); - - dispatch('burstUnusedSeal'); } if (!newEntry.tempFile) { |