- updated zustand and react libraries;
- added 'put in draft' btn;
This commit is contained in:
@@ -92,7 +92,7 @@ const Domande = () => {
|
||||
|
||||
const saveEditDialog = () => {
|
||||
if (chosenUser !== 0 && chosenApplication !== 0) {
|
||||
storeSet.main.setAsyncRequest();
|
||||
storeSet('setAsyncRequest');
|
||||
AssignedApplicationService.assignApplication(chosenApplication, assignApplCallback, errAssignApplCallback, [
|
||||
['userId', chosenUser]
|
||||
]);
|
||||
@@ -111,7 +111,7 @@ const Domande = () => {
|
||||
}
|
||||
setUpdaterString(uniqid());
|
||||
}
|
||||
storeSet.main.unsetAsyncRequest();
|
||||
storeSet('unsetAsyncRequest');
|
||||
}
|
||||
|
||||
const errAssignApplCallback = (data) => {
|
||||
@@ -123,7 +123,7 @@ const Domande = () => {
|
||||
});
|
||||
}
|
||||
set404FromErrorResponse(data);
|
||||
storeSet.main.unsetAsyncRequest();
|
||||
storeSet('unsetAsyncRequest');
|
||||
}
|
||||
|
||||
const getStatValue = (key, fallback = '') => {
|
||||
|
||||
Reference in New Issue
Block a user