Skip to content

Commit 4a4ad67

Browse files
committed
Bug | recommend | do not fail if project is not saved
1 parent 916d649 commit 4a4ad67

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
@@ -2490,7 +2490,7 @@ const MapProject = () => {
24902490
let _candidates = flatten(map(filter(selectedAlgoIds, algoId => !['ocl-ciel-bridge', 'ocl-scispacy-loinc'].includes(algoId)), algoId => find(allCandidatesRef.current[algoId], c => c.row?.__index === __index)?.results || []))
24912491
let _bridgeCandidates = find(allCandidatesRef.current['ocl-ciel-bridge'], c => c.row?.__index === __index)?.results || []
24922492
let _scispacyCandidates = find(allCandidatesRef.current['ocl-scispacy-loinc'], c => c.row?.__index === __index)?.results || []
2493-
if(isNumber(__index) && repoVersion && project?.url && !analysis[__index] && [..._candidates, ..._bridgeCandidates, ..._scispacyCandidates]?.length > 0) {
2493+
if(isNumber(__index) && repoVersion && !analysis[__index] && [..._candidates, ..._bridgeCandidates, ..._scispacyCandidates]?.length > 0) {
24942494
markAlgo(__index, 'recommend', 0)
24952495
let rowData = prepareRow(__row, true, true)
24962496
const payload = {

0 commit comments

Comments
 (0)