Move fonts and add go to editorconfig
This commit is contained in:
21 files changed
+36
-30
No files matched your search
@@ -0,0 +1,14 @@
|
||||
const getters = {
|
||||
showOverlay: state => {
|
||||
return state.showInfo ||
|
||||
state.showHelp ||
|
||||
state.showDelete ||
|
||||
state.showRename ||
|
||||
state.showMove ||
|
||||
state.showNewFile ||
|
||||
state.showNewDir
|
||||
},
|
||||
selectedCount: state => state.selected.length
|
||||
}
|
||||
|
||||
export default getters
|
||||
@@ -1,6 +1,7 @@
|
||||
import Vue from 'vue'
|
||||
import Vuex from 'vuex'
|
||||
import mutations from './mutations'
|
||||
import getters from './getters'
|
||||
|
||||
Vue.use(Vuex)
|
||||
|
||||
@@ -21,19 +22,6 @@ const state = {
|
||||
showNewDir: false
|
||||
}
|
||||
|
||||
const getters = {
|
||||
showOverlay: state => {
|
||||
return state.showInfo ||
|
||||
state.showHelp ||
|
||||
state.showDelete ||
|
||||
state.showRename ||
|
||||
state.showMove ||
|
||||
state.showNewFile ||
|
||||
state.showNewDir
|
||||
},
|
||||
selectedCount: state => state.selected.length
|
||||
}
|
||||
|
||||
export default new Vuex.Store({
|
||||
strict: process.env.NODE_ENV !== 'production',
|
||||
state,
|
||||
|
||||
Reference in new issue
Block a user