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

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

export default {
  [types.SET_LOADING](state, isLoading) {
    state.isLoading = isLoading;
  },

  [types.SET_PACKAGE_VERSIONS](state, versions) {
    state.packageEntity = {
      ...state.packageEntity,
      versions,
    };
  },
};