Skip to content

Commit

Permalink
DT-1083: Use global DAA config instead of environment (#2743)
Browse files Browse the repository at this point in the history
  • Loading branch information
rushtong authored Dec 10, 2024
1 parent 470ec0e commit 7776af9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/user_profile/ResearcherStatus.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down Expand Up @@ -97,7 +97,7 @@ export default function ResearcherStatus(props) {
</p>
<div style={{ marginTop: '15px' }} />
{hasCard ?
(checkEnv(envGroups.DEV) ?
(DAAUtils.isEnabled() ?
(
<DAAs
issuedOn={issuedOn}
Expand Down

0 comments on commit 7776af9

Please sign in to comment.