Skip to content

Commit

Permalink
Merge pull request #97 from ConductionNL/feature/Git-87/text-changes
Browse files Browse the repository at this point in the history
feature/Git-87/text-changes
  • Loading branch information
remko48 authored Oct 3, 2023
2 parents 258cc2f + 580a021 commit 3b56592
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions pwa/src/services/getNameFromBijlageArray.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export const getBijlageTitleFromURL = (url: string, bijlagen: any[]): string | undefined => {
if (bijlagen === undefined) return undefined;
return bijlagen.find((bijlage) => bijlage.URL_Bijlage === url)?.Titel_Bijlage;
};
2 changes: 1 addition & 1 deletion pwa/src/templates/jumbotronTemplate/JumbotronTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const JumbotronTemplate: React.FC = () => {
<Heading2 className={styles.title}>Woo-publicaties van {process.env.GATSBY_ORGANISATION_NAME}</Heading2>

<Paragraph className={styles.description}>
Op deze pagina vind u de Woo-publicaties van {process.env.GATSBY_ORGANISATION_NAME}
Op deze pagina vindt u de Woo-publicaties van {process.env.GATSBY_ORGANISATION_NAME}
</Paragraph>
</CardWrapper>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const TableResultsTemplate: React.FC<TableResultsTemplateProps> = ({ requ
<TableBody className={styles.tableBody}>
{requests.map((request) => (
<TableRow className={styles.tableRow} key={request.id} onClick={() => navigate(request.id)}>
<TableCell>{request.Titel !== "" ? request.Titel : "Geen titel beschikbaar"}</TableCell>
<TableCell>{request.Titel ?? "Geen titel beschikbaar"}</TableCell>
<TableCell>{request.Categorie ?? "-"}</TableCell>
<TableCell>
{request.Publicatiedatum
Expand All @@ -51,7 +51,7 @@ export const TableResultsTemplate: React.FC<TableResultsTemplateProps> = ({ requ
? translateDate(i18n.language, request.Besluitdatum)
: "Geen besluitdatum beschikbaar"}
</TableCell>
<TableCell>{request.Besluit !== "" ? request.Besluit : "Geen besluit beschikbaar"}</TableCell>
<TableCell>{request.Besluit ?? "Geen besluit beschikbaar"}</TableCell>
</TableRow>
))}
</TableBody>
Expand Down

0 comments on commit 3b56592

Please sign in to comment.