- added registartion page;
- implemented validation helper-functions; - fixed form fields datepicker and datepicker range; - updated routes logic; - fixed FAQ items editing/submission;
This commit is contained in:
@@ -24,26 +24,26 @@ const BandoForms = () => {
|
||||
const [forms, setForms] = useState([]);
|
||||
|
||||
const doCreateNewForm = () => {
|
||||
navigate(`/tenders/${id}/forms/new`);
|
||||
navigate(`/bandi/${id}/forms/new`);
|
||||
}
|
||||
|
||||
const goToEditBando = () => {
|
||||
navigate(`/tenders/${id}`);
|
||||
navigate(`/bandi/${id}`);
|
||||
}
|
||||
|
||||
const openBandoFlowManagement = () => {
|
||||
navigate(`/tenders/${id}/flow`);
|
||||
navigate(`/bandi/${id}/flow`);
|
||||
}
|
||||
|
||||
const goToEditForm = () => {
|
||||
if (selectedForm && selectedForm !== 0) {
|
||||
navigate(`/tenders/${id}/forms/${selectedForm}`);
|
||||
navigate(`/bandi/${id}/forms/${selectedForm}`);
|
||||
}
|
||||
}
|
||||
|
||||
const goToEditFormFromTemplate = () => {
|
||||
console.log('goToEditFormFromTemplate', selectedTemplate)
|
||||
//navigate(`/tenders/${id}`);
|
||||
//navigate(`/bandi/${id}`);
|
||||
}
|
||||
|
||||
const getFormsCallback = (data) => {
|
||||
|
||||
Reference in New Issue
Block a user