Skip to content

Commit e258661

Browse files
committed
OpenConceptLab/ocl_online#36 | fixing scispacy loinc toggle
1 parent b4ea1d2 commit e258661

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/map-projects/MapProject.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ const MapProject = () => {
238238
const inAIAssistantGroup = Boolean(hasAuthGroup(user, 'mapper_ai_assistant') && AI_ASSISTANT_API_URL)
239239
const CANDIDATES_LIMIT = reranker ? 30 : 10
240240
const canBridge = bridgeRef?.current?.canBridge()
241-
const canScispacy = Boolean(canBridge && SCISPACY_API_URL && window.SCISPACY_LOINC_TOGGLE === true)
241+
const canScispacy = Boolean(canBridge && SCISPACY_API_URL && toggles.SCISPACY_LOINC_TOGGLE === true)
242242

243243

244244
// algos - computed based on current language

0 commit comments

Comments
 (0)