diff --git a/CHANGELOG.md b/CHANGELOG.md index 08c864c73..6ee488899 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,8 @@ - Enable triple-slash-reference rule - App overview - api failing component appears with "no data available" and with error bar - +- Company Roles + - Fix typo error to fix conformity body issue ## 1.7.0-RC4 diff --git a/src/assets/locales/de/main.json b/src/assets/locales/de/main.json index dc472eb8a..84694674c 100644 --- a/src/assets/locales/de/main.json +++ b/src/assets/locales/de/main.json @@ -47,7 +47,7 @@ "companyrolesparticipant": "Participant", "companyrolesappprovider": "App Provider", "companyrolesserviceprovider": "Service Provider", - "companyrolesconfirmitybody": "Confirmity Body", + "companyrolesconformitybody": "Conformity Body", "companyrolesonboardingserviceprovider": "Onboarding Service Provider", "usecase": "Use Case", "usecasetraceablity": "Traceablity", diff --git a/src/assets/locales/en/main.json b/src/assets/locales/en/main.json index a9eda5e0e..b91a60054 100644 --- a/src/assets/locales/en/main.json +++ b/src/assets/locales/en/main.json @@ -46,7 +46,7 @@ "companyrolesparticipant": "Participant", "companyrolesappprovider": "App Provider", "companyrolesserviceprovider": "Service Provider", - "companyrolesconfirmitybody": "Confirmity Body", + "companyrolesconformitybody": "Conformity Body", "companyrolesonboardingserviceprovider": "Onboarding Service Provider", "usecase": "Use Case", "usecasetraceablity": "Traceablity", diff --git a/src/components/pages/CompanyRoles/index.tsx b/src/components/pages/CompanyRoles/index.tsx index 0cb8b2854..24c153760 100644 --- a/src/components/pages/CompanyRoles/index.tsx +++ b/src/components/pages/CompanyRoles/index.tsx @@ -47,9 +47,9 @@ export default function CompanyRoles() { } else if (url.indexOf('companyrolesserviceprovider') > 1) { setCompanyRoles(data.serviceProvider) setLinkArray(data.serviceProvider.subNavigation) - } else if (url.indexOf('companyrolesconfirmitybody') > 1) { - setCompanyRoles(data.confirmity) - setLinkArray(data.confirmity.subNavigation) + } else if (url.indexOf('companyrolesconformitybody') > 1) { + setCompanyRoles(data.conformity) + setLinkArray(data.conformity.subNavigation) } else if (url.indexOf('companyrolesonboardingserviceprovider') > 1) { setCompanyRoles(data.ospProvider) setLinkArray(data.ospProvider.subNavigation) diff --git a/src/services/CommonService.ts b/src/services/CommonService.ts index 3aa7911bf..cc0b5be90 100644 --- a/src/services/CommonService.ts +++ b/src/services/CommonService.ts @@ -65,7 +65,7 @@ export interface CompanyRolesType { sections: [] subNavigation: SubNavigationType[] } - confirmity: { + conformity: { title: string description: string sections: [] diff --git a/src/types/Config.tsx b/src/types/Config.tsx index 0606eee34..282f8e195 100644 --- a/src/types/Config.tsx +++ b/src/types/Config.tsx @@ -404,7 +404,7 @@ export const ALL_PAGES: IPage[] = [ { name: PAGES.LOGOUT, element: }, { name: PAGES.INTRODUCTION, element: }, { name: PAGES.INTRODUCTION_APP_PROVIDER, element: }, - { name: PAGES.INTRODUCTION_CONFIRMITY_BODY, element: }, + { name: PAGES.INTRODUCTION_CONFORMITY_BODY, element: }, { name: PAGES.INTRODUCTION_OSP_BODY, element: }, { name: PAGES.INTRODUCTION_PARTICIPANT, element: }, { name: PAGES.INTRODUCTION_SERVICE_PROVIDER, element: }, @@ -704,7 +704,7 @@ export const mainMenuFullTree = [ { name: PAGES.INTRODUCTION_PARTICIPANT, hint: HINTS.NEW }, { name: PAGES.INTRODUCTION_APP_PROVIDER, hint: HINTS.NEW }, { name: PAGES.INTRODUCTION_SERVICE_PROVIDER, hint: HINTS.NEW }, - { name: PAGES.INTRODUCTION_CONFIRMITY_BODY, hint: HINTS.NEW }, + { name: PAGES.INTRODUCTION_CONFORMITY_BODY, hint: HINTS.NEW }, { name: PAGES.INTRODUCTION_OSP_BODY, hint: HINTS.NEW }, ], }, diff --git a/src/types/Constants.ts b/src/types/Constants.ts index 35fd9ae5f..ac87bab39 100644 --- a/src/types/Constants.ts +++ b/src/types/Constants.ts @@ -80,7 +80,7 @@ export enum PAGES { INTRODUCTION_PARTICIPANT = 'companyrolesparticipant', INTRODUCTION_APP_PROVIDER = 'companyrolesappprovider', INTRODUCTION_SERVICE_PROVIDER = 'companyrolesserviceprovider', - INTRODUCTION_CONFIRMITY_BODY = 'companyrolesconfirmitybody', + INTRODUCTION_CONFORMITY_BODY = 'companyrolesconformitybody', INTRODUCTION_OSP_BODY = 'companyrolesonboardingserviceprovider', USE_CASE = 'usecase', USE_CASE_TRACABILITY = 'usecasetraceablity',