- updated zustand and react libraries;

- added 'put in draft' btn;
This commit is contained in:
Vitalii Kiiko
2025-04-10 12:36:19 +02:00
parent 44ba9036cb
commit 7dcf932819
90 changed files with 677 additions and 587 deletions

View File

@@ -92,7 +92,7 @@ const DomandeInstructorManager = () => {
const saveEditDialog = () => {
if (chosenUser !== 0 && chosenApplication !== 0) {
storeSet.main.setAsyncRequest();
storeSet('setAsyncRequest');
AssignedApplicationService.assignApplication(chosenApplication, assignApplCallback, errAssignApplCallback, [
['userId', chosenUser]
]);
@@ -111,7 +111,7 @@ const DomandeInstructorManager = () => {
}
setUpdaterString(uniqid());
}
storeSet.main.unsetAsyncRequest();
storeSet('unsetAsyncRequest');
}
const errAssignApplCallback = (data) => {
@@ -123,7 +123,7 @@ const DomandeInstructorManager = () => {
});
}
set404FromErrorResponse(data);
storeSet.main.unsetAsyncRequest();
storeSet('unsetAsyncRequest');
}
const getStats = (data) => {