Skip to content

Commit c3871b3

Browse files
Xaohssvenvandescheur
authored andcommitted
👌 - fix: fixed title
1 parent 6e9dd36 commit c3871b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/src/pages/destructionlist/detail/components/DestructionListToolbar/DestructionListToolbar.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import {
77
H2,
88
Tab,
99
Tabs,
10+
field2Title,
1011
} from "@maykin-ui/admin-ui";
11-
import React from "react";
1212
import { useLoaderData } from "react-router-dom";
1313

1414
import { AuditLogItem } from "../../../../../lib/api/auditLog";
@@ -117,7 +117,7 @@ export function DestructionListToolbar() {
117117

118118
return (
119119
<Body>
120-
<H2>{destructionList.name}</H2>
120+
<H2>{field2Title(destructionList.name)}</H2>
121121
{logItems ? (
122122
<Tabs>
123123
<Tab id="gegevens" label="Gegevens">

frontend/src/pages/landing/Landing.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import {
3030
STATUS_MAPPING,
3131
} from "../constants";
3232
import "./Landing.css";
33-
import { LandingContext, getStatusMap, landingLoader } from "./Landing.loader";
33+
import { LandingContext, getStatusMap } from "./Landing.loader";
3434

3535
export type LandingKanbanEntry = {
3636
key: string;

0 commit comments

Comments
 (0)