- re-enabled extending functionality for expired amendments;
This commit is contained in:
@@ -514,7 +514,7 @@ const SoccorsoEditPreInstructor = () => {
|
||||
<Button
|
||||
type="button"
|
||||
onClick={openExtendResponseTimeDialog}
|
||||
disabled={isLoadingExtendingTime || ['CLOSE', 'EXPIRED'].includes(data.status)}
|
||||
disabled={isLoadingExtendingTime || ['CLOSE'].includes(data.status)}
|
||||
outlined
|
||||
label={__('Estendi Scadenza', 'gepafin')}
|
||||
icon="pi pi-stopwatch"
|
||||
@@ -550,7 +550,7 @@ const SoccorsoEditPreInstructor = () => {
|
||||
</label>
|
||||
<InputNumber
|
||||
keyfilter="int"
|
||||
disabled={['CLOSE', 'EXPIRED'].includes(data.status)}
|
||||
disabled={['CLOSE'].includes(data.status)}
|
||||
value={extendedTime}
|
||||
showButtons
|
||||
onChange={(e) => setExtendedTime(e.value)}/>
|
||||
|
||||
Reference in New Issue
Block a user