- added page 'manage users';
- changed field type for 'reuqested documents'; - added disable state logic for 'edit form' btn for unsaved call;
This commit is contained in:
@@ -314,12 +314,14 @@ const BandoEdit = () => {
|
||||
<div className="row">
|
||||
<Button
|
||||
type="button"
|
||||
disabled={!['DRAFT', 'PUBLISH', 'READY_TO_PUBLISH'].includes(data.status)}
|
||||
outlined={data.status === 'PUBLISH'}
|
||||
onClick={openBandoFormManagement}
|
||||
label={__('Crea/modifica form', 'gepafin')}/>
|
||||
|
||||
<Button
|
||||
type="button"
|
||||
disabled={!['DRAFT', 'PUBLISH', 'READY_TO_PUBLISH'].includes(data.status)}
|
||||
outlined={data.status === 'PUBLISH'}
|
||||
onClick={openBandoFlowManagement}
|
||||
icon="pi pi-sitemap"
|
||||
@@ -333,7 +335,7 @@ const BandoEdit = () => {
|
||||
{o.label}
|
||||
</li>)}
|
||||
</ul>
|
||||
: <p>No forms created yet.</p>}
|
||||
: <p>{__('Nessun modulo creato ancora', 'gepafin')}</p>}
|
||||
</div>
|
||||
|
||||
<div className="appPage__spacer"></div>
|
||||
|
||||
Reference in New Issue
Block a user