diff --git a/src/app/project/ontology/property-info/property-info.component.html b/src/app/project/ontology/property-info/property-info.component.html index a9eb30d873..26e9b516ca 100644 --- a/src/app/project/ontology/property-info/property-info.component.html +++ b/src/app/project/ontology/property-info/property-info.component.html @@ -56,7 +56,11 @@ tune + [matTooltip]="((!propCanBeDeleted) ? + (propCard.isInherited ? + 'The property can\'t be removed because it is inherited from another class' : + 'The property can\'t be removed because it is in use' + ) : 'Remove property from resource class')"> + [matTooltip]="((resClasses.length > 0) ? 'The property can\'t be deleted because it is used in a class' : 'Delete property')">