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

mutations.js « store « clusters_list « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ffd3c4601bff241e64a4d00e6cda6cf3569a4035 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import * as types from './mutation_types';

export default {
  [types.SET_LOADING_STATE](state, value) {
    state.loading = value;
  },
  [types.SET_CLUSTERS_DATA](state, clusters) {
    Object.assign(state, {
      clusters,
    });
  },
};