Merge pull request '3932-fix(zone_delivery-days): await zone.Events.show()' (#948) from 3932-zone_delivery-days into test
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #948
This commit is contained in:
Joan Sanchez 2022-04-26 08:13:33 +00:00
commit 144b99f644
1 changed files with 2 additions and 3 deletions

View File

@ -73,15 +73,14 @@ class Controller extends Section {
for (let event of $events)
zoneIds.push(event.zoneFk);
this.$.zoneEvents.show($event.target);
const params = {
zoneIds: zoneIds,
date: day
};
this.$http.post(`Zones/getZoneClosing`, params)
.then(res => this.zoneClosing = res.data);
.then(res => this.zoneClosing = res.data)
.then(() => this.$.zoneEvents.show($event.target));
}
preview(zone) {