classic-ui/modules/account/store/mutations/Statistic.js
Danil Kovtonyuk 44f31f8b9f
init
2022-04-22 13:14:19 +10:00

9 lines
255 B
JavaScript

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', {})
}
}