summaryrefslogtreecommitdiff
path: root/store/index.js
blob: a91e3a7d9d9533e4cdbd7b51610c95cf1ee645c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export const state = () => ({
  loading: false,
});

export const getters = {
  isLoading: (state) => {
    return state.loading;
  },
};
export const mutations = {
  loadingStatus: (state, value) => {
    state.loading = value;
  },
};