cleanup
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
choelzl 2021-07-16 22:37:29 +02:00
parent 0162474bf4
commit 8d10986e35
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -78,15 +78,15 @@ Vue.component('multiselect', window.VueMultiselect.default)
const app = new Vue({ const app = new Vue({
el: '#app', el: '#app',
data: { data: {
journey_id : (window.location.pathname + '').split('/').at(-1) || gen_id(16), journey_id : window.location.pathname.toString().split('/').at(-1) || gen_id(16),
journey_step: window.location.hash.slice(1)==""?(((window.location.pathname + '').split('/').at(1)=='view')?0:-1):parseInt(window.location.hash.slice(1)), journey_step: window.location.hash.slice(1)==""?((window.location.pathname.toString().split('/').at(1)=='view')?0:-1):parseInt(window.location.hash.slice(1)),
journey_step_data: {day:-1, section:-1}, journey_step_data: {day:-1, section:-1},
journey_data : { journey_data : {
name: "New Journey", name: "New Journey",
main:[], main:[],
step_title:[], step_title:[],
}, },
view: (window.location.pathname + '').split('/').at(1)=='view', view: window.location.pathname.toString().split('/').at(1)=='view',
query:{hotel:[],flight:[],nominatim:[]}, query:{hotel:[],flight:[],nominatim:[]},
querying:{hotel:false,flight:false,place:false,food:false}, querying:{hotel:false,flight:false,place:false,food:false},
impexp:"", impexp:"",