Skip to content

Commit

Permalink
comments addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
Achintha Isuru committed Oct 28, 2023
1 parent b86df0f commit 05b1c51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const EditRole: FunctionComponent<EditRoleProps> = (props: EditRoleProps)
)
},
// Hide connected apps tab if the audience is application.
roleObject?.audience.type === RoleAudienceTypes.ORGANIZATION.toLocaleLowerCase()
roleObject?.audience?.type === RoleAudienceTypes.ORGANIZATION.toLocaleLowerCase()
? {
menuItem: t("console:manage.features.roles.edit.menuItems.connectedApps"),
render: () => (
Expand Down

0 comments on commit 05b1c51

Please sign in to comment.