mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-24 18:00:40 +00:00
- invoice fixes
- optimization for new invoicing module
This commit is contained in:
@@ -35,11 +35,11 @@ export default {
|
||||
methods: {
|
||||
showLocation(location) {
|
||||
let routes = {
|
||||
'regular-invoice': 'getRegularInvoices',
|
||||
'advance-invoice': 'getAdvanceInvoices',
|
||||
'clients': 'getClients',
|
||||
'regular-invoice': ['getInvoices', 'regular-invoice'],
|
||||
'advance-invoice': ['getInvoices', 'advance-invoice'],
|
||||
'clients': ['getClients'],
|
||||
}
|
||||
this.$store.dispatch(routes[location])
|
||||
this.$store.dispatch(...routes[location])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user