This commit is contained in:
parent
0162474bf4
commit
8d10986e35
@ -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:"",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user