[WIP] Фикс create таблицы

This commit is contained in:
megavrilinvv
2023-01-23 12:56:20 +03:00
parent 611558597a
commit 11af24f8bc
2 changed files with 13 additions and 15 deletions

View File

@@ -202,7 +202,7 @@ export default {
};
if (this.insideSchedules?.length > 0) {
this.postUpdateSchedule();
if (this.outsideSchedules)
if (this.outsideSchedules) {
this.outsideSchedules.forEach((el) => {
fetchWrapper.post("accounts/schedules/create/", {
...data,
@@ -210,6 +210,7 @@ export default {
end_date: el.end_date,
});
});
}
} else {
fetchWrapper
.post("accounts/schedules/create/", {