- updated amendment, can be closed even when expired;

This commit is contained in:
Vitalii Kiiko
2025-11-12 14:58:49 +01:00
parent 65795842b5
commit b9f042dcc6
2 changed files with 2 additions and 2 deletions

View File

@@ -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)}

View File

@@ -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)}