File tree Expand file tree Collapse file tree
app/components/Detail/components/AnVILCMG/components/RequestAccess Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77} from "../../../../../../apis/azul/common/utils" ;
88import { takeArrayValueAt } from "../../../../../../viewModelBuilders/azul/anvil-cmg/common/viewModelBuilders" ;
99
10+ // DUOS access requests temporarily disabled; flip to true to re-enable.
11+ const DUOS_ENABLED = false ;
12+
1013/**
1114 * Generates a list of request access menu options based on the provided dataset response.
1215 * This function extracts identifiers (DUOS ID and dbGaP ID) from the datasets response and returns an array of menu option objects.
@@ -32,7 +35,7 @@ export function getRequestAccessOptions(
3235 LABEL . EMPTY
3336 ) ;
3437 const options = [ ] ;
35- if ( duosId ) {
38+ if ( DUOS_ENABLED && duosId ) {
3639 // If a DUOS ID is present, add a menu option for DUOS.
3740 options . push ( {
3841 href : `https://duos.org/dataset/${ duosId } ` ,
You can’t perform that action at this time.
0 commit comments