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

This commit is contained in:
choelzl 2021-07-16 23:03:06 +02:00
parent e456335f0e
commit 65b44cd8c9
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -78,14 +78,14 @@ const app = new Vue({
el: '#app',
data: {
journey_id : window.location.pathname.split('/').pop() || 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.split('/')[1]=='view')?0:-1):parseInt(window.location.hash.slice(1)),
journey_step_data: {day:-1, section:-1},
journey_data : {
name: "New Journey",
main:[],
step_title:[],
},
view: window.location.pathname.split('/').at(1)=='view',
view: window.location.pathname.split('/')[1]=='view',
query:{hotel:[],flight:[],nominatim:[]},
querying:{hotel:false,flight:false,place:false,food:false},
impexp:"",