Hotfix[ZoneEvents]: Fixed zone exclusion dated and fixed exclusion and inclusion when there was already an event #1708
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue