Skip to content

Commit 070eb8d

Browse files
committed
Concept Associations | fixing concept defined in OCL indicator
1 parent 9590190 commit 070eb8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/concepts/Associations.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const MappingCells = ({mapping, isIndirect}) => {
5757
if(name) return name;
5858
return get(mapping, `${attr.split('_name')}.0.display_name`)
5959
}
60-
const isDefinedInOCL = Boolean(mapping.cascade_target_concept_url || mapping.url)
60+
const isDefinedInOCL = Boolean(mapping?.type === 'Mapping' ? mapping.cascade_target_concept_url : mapping.url)
6161
const getTitle = () => {
6262
return isDefinedInOCL ?
6363
(isIndirect ? t('mapping.from_concept_defined') : t('mapping.to_concept_defined')) :

0 commit comments

Comments
 (0)