Skip to content

Commit bf1d1fd

Browse files
committed
OCLOMRS-1044:Bug Fix: Pick Concepts from Source and Dictionaries
1 parent fc208e8 commit bf1d1fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apps/dictionaries/redux/actions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ export const recursivelyAddConceptsToDictionaryAction = (
381381
}
382382

383383
if (!concept.hasOwnProperty("source_url") || !!!concept.source_url) {
384-
concept.source_url = concept.url.split("/", 5).join("/") + "/";
384+
return{...concept,source_url: concept.url.split("/", 5).join("/") + "/"}
385385
}
386386

387387
return concept;

0 commit comments

Comments
 (0)