made bar linear
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
soraefir
2023-07-13 18:57:49 +02:00
parent 584649ec22
commit 707a7c93a1
3 changed files with 23 additions and 66 deletions

View File

@ -280,9 +280,9 @@ const app = new Vue({
e.flight = undefined;
e.step_title = e.step_title || [];
}
});
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),
"restaurants":_.debounce((q)=>{this.querying.food=true;this.search_nominatim(q,(r)=>(is_restauration_type(r))).then((r)=>{this.querying.food=false});}, 500),