tornado-initiation-ui/store/airdrop/mutations.js

11 lines
261 B
JavaScript
Raw Normal View History

2020-11-21 11:46:25 +01:00
import { SET_AIRDROP, SET_NOTIFICATION } from './constant'
2020-11-20 17:11:39 +01:00
export default {
[SET_AIRDROP](state, airdrops) {
this._vm.$set(state, 'airdrops', airdrops)
},
2020-11-21 11:46:25 +01:00
[SET_NOTIFICATION](state, index) {
this._vm.$set(state, 'notificationIndex', index)
},
2020-11-20 17:11:39 +01:00
}