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:
Diffstat (limited to 'app/assets/javascripts/clusters_list/store/mutations.js')
-rw-r--r--app/assets/javascripts/clusters_list/store/mutations.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/assets/javascripts/clusters_list/store/mutations.js b/app/assets/javascripts/clusters_list/store/mutations.js
index 2a9df9f38f0..5b462928518 100644
--- a/app/assets/javascripts/clusters_list/store/mutations.js
+++ b/app/assets/javascripts/clusters_list/store/mutations.js
@@ -1,8 +1,11 @@
import * as types from './mutation_types';
export default {
- [types.SET_LOADING_STATE](state, value) {
- state.loading = value;
+ [types.SET_LOADING_CLUSTERS](state, value) {
+ state.loadingClusters = value;
+ },
+ [types.SET_LOADING_NODES](state, value) {
+ state.loadingNodes = value;
},
[types.SET_CLUSTERS_DATA](state, { data, paginationInformation }) {
Object.assign(state, {