We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 150e438 + 2920614 commit 29d0283Copy full SHA for 29d0283
src/apps/copilots/src/pages/copilot-opportunity-list/index.tsx
@@ -106,7 +106,7 @@ const CopilotOpportunityList: FC<{}> = () => {
106
107
const { profile }: ProfileContextData = useContext(profileContext)
108
const isAdminOrPM: boolean = useMemo(
109
- () => !!profile?.roles?.some(role => role === UserRole.tcaAdmin || role === UserRole.projectManager),
+ () => !!profile?.roles?.some(role => role === UserRole.administrator || role === UserRole.projectManager),
110
[profile],
111
)
112
0 commit comments