This commit is contained in:
parent
e456335f0e
commit
65b44cd8c9
@ -78,14 +78,14 @@ const app = new Vue({
|
|||||||
el: '#app',
|
el: '#app',
|
||||||
data: {
|
data: {
|
||||||
journey_id : window.location.pathname.split('/').pop() || gen_id(16),
|
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_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.split('/')[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:"",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user