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

This commit is contained in:
2021-07-16 22:53:57 +02:00
parent 8d10986e35
commit 8a3a3b8d46
2 changed files with 7 additions and 8 deletions

View File

@ -71,22 +71,21 @@ Vue.component('l-icon', window.Vue2Leaflet.LIcon);
Vue.component('l-popup', window.Vue2Leaflet.LPopup);
Vue.component('l-tooltip', window.Vue2Leaflet.LTooltip);
Vue.component('l-control-scale', window.Vue2Leaflet.LControlScale);
Vue.use(window.VueTextareaAutosize)
Vue.component('multiselect', window.VueMultiselect.default)
Vue.use(window.VueTextareaAutosize);
Vue.component('multiselect', window.VueMultiselect.default);
const app = new Vue({
el: '#app',
data: {
journey_id : window.location.pathname.toString().split('/').at(-1) || gen_id(16),
journey_step: window.location.hash.slice(1)==""?((window.location.pathname.toString().split('/').at(1)=='view')?0:-1):parseInt(window.location.hash.slice(1)),
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_data: {day:-1, section:-1},
journey_data : {
name: "New Journey",
main:[],
step_title:[],
},
view: window.location.pathname.toString().split('/').at(1)=='view',
view: window.location.pathname.split('/').at(1)=='view',
query:{hotel:[],flight:[],nominatim:[]},
querying:{hotel:false,flight:false,place:false,food:false},
impexp:"",