Hotfix[ZoneEvents]: Fixed zone exclusion dated and fixed exclusion and inclusion when there was already an event #1708

Merged
jon merged 5 commits from Hotfix-ZoneExclusionDatedValue into master 2025-04-14 14:38:11 +00:00
1 changed files with 9 additions and 3 deletions
Showing only changes of commit 78f1756edc - Show all commits

View File

@ -107,11 +107,17 @@ const createEvent = async () => {
`Zones/${existsExclusion?.zoneFk}/exclusions/${existsExclusion?.id}`,
);
}
const { dated, started, ended, type, weekDays, wdays } =
eventInclusionFormData.value;
const {
dated: formDated,
started,
ended,
type,
weekDays,
wdays,
} = eventInclusionFormData.value;
const payload = {
dated,
dated: formDated,
started,
ended,
type,