- updated amendment, can be closed even when expired;
This commit is contained in:
@@ -601,7 +601,7 @@ const SoccorsoEditInstructorManager = () => {
|
||||
<BlockingOverlay shouldDisplay={data.status === 'CLOSE'}/>
|
||||
<Editor
|
||||
value={internalNote}
|
||||
readOnly={['CLOSE', 'EXPIRED'].includes(data.status)}
|
||||
readOnly={['CLOSE'].includes(data.status)}
|
||||
placeholder={__('Digita qui il messagio', 'gepafin')}
|
||||
headerTemplate={header}
|
||||
onTextChange={(e) => setInternalNote(e.htmlValue)}
|
||||
|
||||
@@ -601,7 +601,7 @@ const SoccorsoEditPreInstructor = () => {
|
||||
<BlockingOverlay shouldDisplay={data.status === 'CLOSE'}/>
|
||||
<Editor
|
||||
value={internalNote}
|
||||
readOnly={['CLOSE', 'EXPIRED'].includes(data.status)}
|
||||
readOnly={['CLOSE'].includes(data.status)}
|
||||
placeholder={__('Digita qui il messagio', 'gepafin')}
|
||||
headerTemplate={header}
|
||||
onTextChange={(e) => setInternalNote(e.htmlValue)}
|
||||
|
||||
Reference in New Issue
Block a user