mirror of
https://github.com/tornadocash/tornado-classic-ui
synced 2024-02-02 15:04:09 +01:00
9 lines
255 B
JavaScript
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', {})
|
|
}
|
|
}
|