Merge branch 'develop' into featue/84-ndg-appointment-flow
This commit is contained in:
@@ -267,7 +267,7 @@ const DomandaEditPreInstructor = () => {
|
||||
case 'fileupload' :
|
||||
content = <ul>
|
||||
{item.fieldValue.map(o => <li key={o.id}>
|
||||
{o.filePath ? <a href={encodeURI(o.filePath)}>{o.name}</a> : null}
|
||||
{o.filePath ? <a href={o.filePath}>{o.name}</a> : null}
|
||||
</li>)}
|
||||
</ul>;
|
||||
break;
|
||||
@@ -581,7 +581,7 @@ const DomandaEditPreInstructor = () => {
|
||||
{o.fileDetail && o.fileDetail.length === 1
|
||||
? <Button icon="pi pi-eye" rounded
|
||||
onClick={() => {
|
||||
window.open(encodeURI(o.fileDetail[0].filePath), '_blank').focus()
|
||||
window.open(o.fileDetail[0].filePath, '_blank').focus()
|
||||
}}
|
||||
outlined severity="info"
|
||||
aria-label={__('Mostra', 'gepafin')}/> : null}
|
||||
@@ -622,7 +622,7 @@ const DomandaEditPreInstructor = () => {
|
||||
<ArchiveDocument ndg={data.ndg} applicationId={id} fileId={k.id}/>
|
||||
<Button icon="pi pi-eye" rounded
|
||||
onClick={() => {
|
||||
window.open(encodeURI(k.filePath), '_blank').focus()
|
||||
window.open(k.filePath, '_blank').focus()
|
||||
}}
|
||||
outlined severity="info"
|
||||
aria-label={__('Mostra', 'gepafin')}/>
|
||||
|
||||
Reference in New Issue
Block a user