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