From 039ec1062e5f5e3b6f1ea006d219d43cc092a3c2 Mon Sep 17 00:00:00 2001 From: rushtong Date: Wed, 4 Dec 2024 13:59:23 -0500 Subject: [PATCH] feat: use daa config instead of environment --- src/pages/user_profile/ResearcherStatus.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() ? (