Skip to content

Commit

Permalink
fix(admin credential): role change (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhigarg-bmw authored Aug 3, 2023
1 parent d544827 commit f876ecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/types/Config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ export const ALL_PAGES: IPage[] = [
{ name: PAGES.DATA_SPACE, element: <DataSpace /> },
{
name: PAGES.ADMIN_CREDENTIAL,
role: ROLES.ADMIN_CREDENTIAL_DECISION,
role: ROLES.DECISION_SSICREDENTIAL,
element: <AdminCredential />,
},
]
Expand Down
2 changes: 1 addition & 1 deletion src/types/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export enum ROLES {
UPDATE_COMPANY_ROLE = 'update_company_role',
SUBMITTED_APPLICATION = 'view_submitted_applications',
REQUEST_SSICREDENTIAL = 'request_ssicredential',
ADMIN_CREDENTIAL_DECISION = 'admin_credential_decision',
DECISION_SSICREDENTIAL = 'decision_ssicredential',
}

export enum HINTS {
Expand Down

0 comments on commit f876ecc

Please sign in to comment.