Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-06-05 09:08:40 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-06-05 09:08:40 +0300
commit09f1028092f0580a26667ff67747f7ab0f759d56 (patch)
treed12fd30f4d828b740437ad9ffac0f9f2fa4a9d46 /app/assets/javascripts/logs/stores/actions.js
parent40054c1c8fc861249c5705bbb165f22deb7ac5c2 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/logs/stores/actions.js')
-rw-r--r--app/assets/javascripts/logs/stores/actions.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/logs/stores/actions.js b/app/assets/javascripts/logs/stores/actions.js
index 79fde1c7f2b..d828e8f8a3e 100644
--- a/app/assets/javascripts/logs/stores/actions.js
+++ b/app/assets/javascripts/logs/stores/actions.js
@@ -100,6 +100,11 @@ export const showEnvironment = ({ dispatch, commit }, environmentName) => {
dispatch('fetchLogs', tracking.ENVIRONMENT_SELECTED);
};
+export const refreshPodLogs = ({ dispatch, commit }) => {
+ commit(types.REFRESH_POD_LOGS);
+ dispatch('fetchLogs', tracking.REFRESH_POD_LOGS);
+};
+
/**
* Fetch environments data and initial logs
* @param {Object} store