Skip to content

Commit 71cf474

Browse files
💚 chore: attempt to fix the build
1 parent 9405e81 commit 71cf474

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed

frontend/src/pages/zaaktype/tabs/overzicht.tsx

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -42,29 +42,9 @@ export const TAB_CONFIG_OVERVIEW: TabConfig<TargetType> = {
4242
view: "AttributeGrid",
4343
sections: [
4444
{
45-
expandFields: ["procestype", "naam", "omschrijving", "objecttype"],
45+
expandFields: ["naam", "omschrijving", "objecttype"],
4646
label: "Overzicht",
4747
fieldsets: FIELDSETS_OVERVIEW,
48-
valueTransform: {
49-
// FIXME FIX OVERRIDES
50-
//
51-
// selectielijstProcestype: (record) => {
52-
// return {
53-
// ...record,
54-
// procestype: record ? `${record?.naam} - ${record?.jaar}` : "-",
55-
// };
56-
// },
57-
// zaakobjecttypen: (zaakobjecttypen) => {
58-
// return (zaakobjecttypen || []).map((zaakobjecttype) => {
59-
// return {
60-
// ...zaakobjecttype,
61-
// objecttype: zaakobjecttype
62-
// ? `${zaakobjecttype._expand?.objecttype?.name}`
63-
// : "-",
64-
// };
65-
// });
66-
// },
67-
},
6848
},
6949
],
7050
};

frontend/src/pages/zaaktype/tabs/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export type TabConfig<T extends object> =
2525

2626
type BaseTabConfig = {
2727
label: string;
28-
fieldset: FieldSet;
2928
};
3029

3130
export type AttributeGridTabConfig<T extends object> = BaseTabConfig & {
@@ -37,6 +36,7 @@ export type AttributeGridTabConfig<T extends object> = BaseTabConfig & {
3736
export type DataGridTabConfig<T extends object> = BaseTabConfig & {
3837
key: keyof Expand<Expanded<T>>;
3938
view: "DataGrid";
39+
fieldset: FieldSet;
4040
sections: DataGridSection<Expanded<T>>[];
4141
};
4242

0 commit comments

Comments
 (0)