mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 20:21:10 -04:00
build version 400
This commit is contained in:
@ -3,5 +3,33 @@ import * as types from './mutation-types'
|
||||
export default {
|
||||
[types.UPDATE_APP_LOADING_STATUS]: (state, data) => {
|
||||
state.isAppLoaded = data
|
||||
}
|
||||
},
|
||||
|
||||
[types.SET_LANGUAGES](state, languages) {
|
||||
state.languages = languages
|
||||
},
|
||||
|
||||
[types.SET_CURRENCIES](state, currencies) {
|
||||
state.currencies = currencies
|
||||
},
|
||||
|
||||
[types.SET_TIMEZONES](state, timeZones) {
|
||||
state.timeZones = timeZones
|
||||
},
|
||||
|
||||
[types.SET_DATE_FORMATS](state, dateFormats) {
|
||||
state.dateFormats = dateFormats
|
||||
},
|
||||
|
||||
[types.SET_FISCAL_YEARS](state, fiscalYears) {
|
||||
state.fiscalYears = fiscalYears
|
||||
},
|
||||
|
||||
[types.SET_COUNTRIES](state, countries) {
|
||||
state.countries = countries
|
||||
},
|
||||
|
||||
[types.TOGGLE_SIDEBAR](state) {
|
||||
state.isSidebarOpen = !state.isSidebarOpen
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user