Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development to main #338

Merged
merged 4 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pwa/src/services/getConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import BarendrechtAccept from "./../../static/configFiles/municipalities/barendr
import Buren from "./../../static/configFiles/municipalities/buren/buren.json";
import BurenAccept from "./../../static/configFiles/municipalities/buren/buren-accept.json";
import Dinkelland from "./../../static/configFiles/municipalities/dinkelland/dinkelland.json";
import DinkellandAccept from "./../../static/configFiles/municipalities/dinkelland/dinkelland.json";
import DinkellandAccept from "./../../static/configFiles/municipalities/dinkelland/dinkelland-accept.json";
import Epe from "./../../static/configFiles/municipalities/epe/epe.json";
import EpeAccept from "./../../static/configFiles/municipalities/epe/epe-accept.json";
import GooiseMeren from "./../../static/configFiles/municipalities/gooise-meren/gooise-meren.json";
Expand Down
19 changes: 19 additions & 0 deletions pwa/src/templates/wooItemDetailTemplate/WOOItemDetailTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,25 @@ export const WOOItemDetailTemplate: React.FC<WOOItemDetailTemplateProps> = ({ wo
</TableRow>
)}

{getItems.data.metadata?.verzoek?.convenant && getItems.data.metadata?.verzoek?.convenant?.url && (
<TableRow
className={styles.tableRow}
tabIndex={0}
aria-label={`${t("Convenant")}, ${
getItems.data.metadata?.verzoek?.convenant?.titel ??
getPDFName(getItems.data.metadata?.verzoek?.convenant?.url)
}`}
>
<TableCell>{t("Convenant")}</TableCell>
<TableCell>
<Link href={getItems.data.metadata?.verzoek?.convenant?.url} target="blank">
{getItems.data.metadata?.verzoek?.convenant?.titel ??
getPDFName(getItems.data.metadata?.verzoek?.convenant?.url)}
</Link>
</TableCell>
</TableRow>
)}

{getItems.data.metadata?.verzoek?.besluit && getItems.data.metadata?.verzoek?.besluit?.url && (
<TableRow
className={styles.tableRow}
Expand Down
Loading