typo
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2022-03-15 09:13:35 +01:00
parent 31eb22c1b4
commit f774b1f784
2 changed files with 4 additions and 4 deletions

View File

@ -69,14 +69,14 @@ class Controller extends Section {
if (!$events.length) return;
const day = $days[0];
const zonesIds = [];
const zoneIds = [];
for (let event of $events)
zonesIds.push(event.zoneFk);
zoneIds.push(event.zoneFk);
this.$.zoneEvents.show($event.target);
const params = {
zonesId: zonesIds,
zoneIds: zoneIds,
date: day
};

View File

@ -110,7 +110,7 @@ describe('Zone Component vnZoneDeliveryDays', () => {
{zoneFk: 8}
];
const params = {
zonesId: [1, 2, 8],
zoneIds: [1, 2, 8],
date: [day][0]
};
const response = [{id: 1, hour: ''}];