mirror of
https://github.com/tornadocash/tornado-classic-ui
synced 2024-02-02 15:04:09 +01:00
11 lines
323 B
JavaScript
11 lines
323 B
JavaScript
import { initialUiState } from '../state/ui'
|
|
|
|
export const addresses = {
|
|
SET_ADDRESSES(state, { netId, addresses }) {
|
|
this._vm.$set(state.ui[`netId${netId}`], 'addresses', addresses)
|
|
},
|
|
REMOVE_ADDRESSES(state, { netId }) {
|
|
this._vm.$set(state.ui[`netId${netId}`], 'addresses', initialUiState.addresses)
|
|
}
|
|
}
|