- updated code related to ndg;

This commit is contained in:
Vitalii Kiiko
2025-03-25 09:06:30 +01:00
parent 5fcb0d765c
commit cd1f27648a
2 changed files with 12 additions and 0 deletions

View File

@@ -646,6 +646,12 @@ const DomandaEditInstructorManager = () => {
detail: data.message detail: data.message
}); });
} }
if (data.data.ndg) {
setData((data) => ({
...data,
ndg: data.data.ndg
}));
}
} }
storeSet.main.unsetAsyncRequest(); storeSet.main.unsetAsyncRequest();
} }

View File

@@ -646,6 +646,12 @@ const DomandaEditPreInstructor = () => {
detail: data.message detail: data.message
}); });
} }
if (data.data.ndg) {
setData((data) => ({
...data,
ndg: data.data.ndg
}));
}
} }
storeSet.main.unsetAsyncRequest(); storeSet.main.unsetAsyncRequest();
} }