- added filter for bando docs;

This commit is contained in:
Vitalii Kiiko
2024-10-22 13:07:54 +02:00
parent 1b37b7b548
commit 81f6ca04c3
2 changed files with 4 additions and 2 deletions

View File

@@ -324,7 +324,9 @@ const BandoViewBeneficiario = () => {
<h2>{__('Allegati', 'gepafin')}</h2>
<div className="row rowContent">
<ul>
{data.docs.map((o, i) => <li key={i}>
{data.docs
.filter(o => o.source === 'CALL')
.map((o, i) => <li key={i}>
<a href={o.filePath} target="_blank" rel="noreferrer">{o.name}</a>
</li>)}
</ul>