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

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

export default {
  [types.SET_GRAFANA_URL](state, url) {
    state.grafanaUrl = url;
  },
  [types.SET_GRAFANA_TOKEN](state, token) {
    state.grafanaToken = token;
  },
  [types.SET_GRAFANA_ENABLED](state, enabled) {
    state.grafanaEnabled = enabled;
  },
};