Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Commit 7f9dfc6

Browse files
committed
type option added
1 parent 7f589cb commit 7f9dfc6

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

packages/layout/src/components/cards/trustee/i18n.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ export type TrusteeI18nProps = {
117117
memberNominated: string;
118118
employerAppointed: string;
119119
regulatorAppointed: string;
120+
other: string;
120121
};
121122
};
122123
isProfessionalTrustee: {
@@ -263,6 +264,7 @@ export const i18n: TrusteeI18nProps = {
263264
memberNominated: 'Member-nominated trustee',
264265
employerAppointed: 'Employer-appointed trustee',
265266
regulatorAppointed: 'Regulator-appointed trustee',
267+
other: 'Other',
266268
},
267269
},
268270
isProfessionalTrustee: {

packages/layout/src/components/cards/trustee/views/type/type.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ const getDescriptionFields = ({ fields }: any): FieldProps[] => [
2727
name: 'trusteeType',
2828
value: 'regulator-appointed',
2929
label: fields.trusteeType.labels.regulatorAppointed,
30+
cfg: { mb: 2 },
31+
},
32+
{
33+
type: 'radio',
34+
name: 'trusteeType',
35+
value: 'other',
36+
label: fields.trusteeType.labels.other,
3037
cfg: { mb: 4 },
3138
},
3239
];

0 commit comments

Comments
 (0)