bugfix in ##172, forgot to load types

This commit is contained in:
Tim Gröger 2020-03-01 20:35:12 +01:00
parent 174bef1fce
commit ef733e040a
2 changed files with 3 additions and 3 deletions

View File

@ -471,6 +471,7 @@ export default {
}, },
created() { created() {
this.getPriceList() this.getPriceList()
this.getTypes()
if (this.isGastro) { if (this.isGastro) {
this.headers.push({ this.headers.push({
text: 'Aktion', text: 'Aktion',
@ -478,7 +479,6 @@ export default {
sortable: false, sortable: false,
filterable: false filterable: false
}) })
this.getTypes()
} }
}, },
watch: { watch: {

View File

@ -1,6 +1,6 @@
//const main = 'https://192.168.5.128:5000/' //const main = 'https://192.168.5.128:5000/'
//const main = 'http://localhost:5000/' const main = 'http://localhost:5000/'
const main = 'http://192.168.5.118:5000/' //const main = 'http://192.168.5.118:5000/'
//const main = 'https://groeger-clan.duckdns.org:5000/' //const main = 'https://groeger-clan.duckdns.org:5000/'
const url = { const url = {