Added links to EU Supply tenders, as there are to Find a Tender notices

This commit is contained in:
bwilliams committed 2026-10-21 14:14:47 +01:00
1 parent 3a06132071
commit 64886a2f1e
5 files changed
+143 -50

No files matched your search

+2 -5
View File
@@ -15,7 +15,7 @@ import { api } from '@/api/client';
import { errorText } from '@/lib/errors';
import { statusLabel } from '@/lib/filterOpportunities';
import { formatDate, formatMoney } from '@/lib/format';
import { isFromFindATender } from '@/lib/opportunities';
import { noticeSite } from '@/lib/opportunities';
import type { Opportunity } from '@/types/Opportunities';
import { ReleaseTabs } from './ReleaseTabs';
import { buttonPrimary, statusBadge } from './styles';
@@ -179,10 +179,7 @@ export function OpportunityDialog(props: Props): JSX.Element {
)}
</Match>
<Match when={loaded.state === 'ready'}>
<ReleaseTabs
releases={releases()}
isFromFindATender={isFromFindATender(opportunity())}
/>
<ReleaseTabs releases={releases()} site={noticeSite(opportunity())} />
</Match>
</Switch>
</section>