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

This commit is contained in:
soraefir 2023-06-25 23:14:34 +02:00
parent 038c274db0
commit b382b6890b
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -271,7 +271,11 @@ const app = new Vue({
e.dateRange[0]= new Date(e.dateRange[0]); e.dateRange[0]= new Date(e.dateRange[0]);
e.dateRange[1]= new Date(e.dateRange[1]); e.dateRange[1]= new Date(e.dateRange[1]);
} }
e.flight = undefined;
e.step_title = e.step_title || [];
} }
}); });
this.debounceSave = _.debounce(this.save_data, 500) this.debounceSave = _.debounce(this.save_data, 500)
this.debounceSearch = {"hotel":_.debounce((q)=>{this.querying.hotel=true;this.search_nominatim(q,(r)=>(r.type=="hotel" || r.type=="hostel")).then((r)=>{this.querying.hotel=false});}, 500), this.debounceSearch = {"hotel":_.debounce((q)=>{this.querying.hotel=true;this.search_nominatim(q,(r)=>(r.type=="hotel" || r.type=="hostel")).then((r)=>{this.querying.hotel=false});}, 500),