refactor: vue fixes + modal-upgrade-system.vue

This commit is contained in:
NGPixel committed 2017-06-10 10:41:15 -04:00
1 parent 5a8c5237af
commit 28fb2aee70
14 files changed
+130 -68

No files matched your search

+4 -2
View File
@@ -1,6 +1,7 @@
'use strict'
export default {
namespaced: true,
state: {
shown: false,
hash: ''
@@ -13,10 +14,11 @@ export default {
}
},
actions: {
anchorOpen({ commit, dispatch }, hash) {
open({ commit }, hash) {
console.info('MIGUEL!')
commit('anchorChange', { shown: true, hash })
},
anchorClose({ commit, dispatch }) {
close({ commit }) {
commit('anchorChange', { shown: false })
}
}