- added page with evalutions;

- added page with amendements;
- implemented communication for amendment;
- implemented amendment creation;
This commit is contained in:
Vitalii Kiiko
2024-10-31 10:06:32 +01:00
parent d8ea017023
commit 5ecf4b5181
5 changed files with 56 additions and 36 deletions

View File

@@ -21,7 +21,7 @@ import { Calendar } from 'primereact/calendar';
import ProperBandoLabel from '../../../../components/ProperBandoLabel';
const AllDomandeTable = ({ openDialogFn }) => {
const AllDomandeTable = ({ openDialogFn, updaterString = '' }) => {
const [items, setItems] = useState(null);
const [filters, setFilters] = useState(null);
const [localAsyncRequest, setLocalAsyncRequest] = useState(false);
@@ -31,7 +31,7 @@ const AllDomandeTable = ({ openDialogFn }) => {
useEffect(() => {
setLocalAsyncRequest(true);
ApplicationService.getApplications(getCallback, errGetCallbacks, [['status', 'SUBMIT']]);
}, []);
}, [updaterString]);
const getCallback = (data) => {
if (data.status === 'SUCCESS') {