classic-ui/modules/account/store/mutations/Statistic.js

9 lines
255 B
JavaScript
Raw Permalink Normal View History

2022-04-22 13:05:56 +10:00
export const statistic = {
SET_STATISTIC(state, { netId, statistic }) {
this._vm.$set(state.ui[`netId${netId}`], 'statistic', statistic)
},
REMOVE_STATISTIC(state, { netId }) {
this._vm.$set(state.ui[`netId${netId}`], 'statistic', {})
}
}