We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9590190 commit 070eb8dCopy full SHA for 070eb8d
src/components/concepts/Associations.jsx
@@ -57,7 +57,7 @@ const MappingCells = ({mapping, isIndirect}) => {
57
if(name) return name;
58
return get(mapping, `${attr.split('_name')}.0.display_name`)
59
}
60
- const isDefinedInOCL = Boolean(mapping.cascade_target_concept_url || mapping.url)
+ const isDefinedInOCL = Boolean(mapping?.type === 'Mapping' ? mapping.cascade_target_concept_url : mapping.url)
61
const getTitle = () => {
62
return isDefinedInOCL ?
63
(isIndirect ? t('mapping.from_concept_defined') : t('mapping.to_concept_defined')) :
0 commit comments