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

9 lines
255 B
JavaScript
Raw Permalink Normal View History

2022-04-22 06:05:56 +03: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', {})
}
}