Skip to content

Commit

Permalink
Cleanup plus requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed Sep 27, 2023
1 parent 301ab39 commit fe66f11
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ export const CardsResultsTemplate: React.FC<CardsResultsTemplateProps> = ({ requ
<CardHeader>
<CardHeaderDate>
<FontAwesomeIcon icon={faClock} />{" "}
{request.Publicatiedatum ? translateDate(i18n.language, request.Publicatiedatum) : "NVT"}
{request.Publicatiedatum ? translateDate(i18n.language, request.Publicatiedatum) : "N.v.t."}
</CardHeaderDate>
<CardHeaderTitle className={styles.title}>
<Heading2>{request.Titel}</Heading2>
<Heading2>{request.Titel !== "" ? request.Titel : "Geen titel beschikbaar"}</Heading2>
</CardHeaderTitle>
</CardHeader>

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}</TableCell>
<TableCell>{request.Titel !== "" ? request.Titel : "Geen titel beschikbaar"}</TableCell>
<TableCell>{request.Categorie ?? "-"}</TableCell>
<TableCell>
{request.Publicatiedatum
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ export const WOOItemDetailTemplate: React.FC<WOOItemDetailTemplateProps> = ({ wo

{getItems.isSuccess && (
<>
{/* This heading is temporary untill all denhaag dependencies are removed from @conduction-components package */}
<h1 className={styles.heading1}>{getItems.data.Titel}</h1>
{/* <Heading1>{getItems.data.Titel}</Heading1> */}
<Heading1>{getItems.data.Titel !== "" ? getItems.data.Titel : "Geen titel beschikbaar"}</Heading1>

<Table className={styles.table}>
<TableBody className={styles.tableBody}>
Expand Down

0 comments on commit fe66f11

Please sign in to comment.