diff --git a/src/pages/user_profile/ResearcherStatus.jsx b/src/pages/user_profile/ResearcherStatus.jsx index 039a0a6ea..a165756bc 100644 --- a/src/pages/user_profile/ResearcherStatus.jsx +++ b/src/pages/user_profile/ResearcherStatus.jsx @@ -7,7 +7,7 @@ import { DAA } from '../../libs/ajax/DAA'; import { isNil } from 'lodash'; import LibraryCard from './LibraryCard'; import DAAs from './DAAs'; -import { checkEnv, envGroups } from '../../utils/EnvironmentUtils'; +import {DAAUtils} from '../../utils/DAAUtils'; export default function ResearcherStatus(props) { @@ -97,7 +97,7 @@ export default function ResearcherStatus(props) {

{hasCard ? - (checkEnv(envGroups.DEV) ? + (DAAUtils.isEnabled() ? (