Skip to content


Browse files Browse the repository at this point in the history
fix(ontology): check if value exists without refreshing the page (DEV…
  • Loading branch information
kilchenmann committed May 31, 2022
1 parent 449493b commit 3c2409a
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -18,7 +18,7 @@
<span class="resource-class-header-action">
<span class="resource-class-more" *ngIf="projectStatus"
[matTooltip]="(ontology.lastModificationDate ? 'more' : 'This data model can\'t be edited because of missing lastModificationDate!')">
<button mat-icon-button [matMenuTriggerFor]="resClassMenu" class="res-class-menu" [disabled]="!ontology.lastModificationDate">
<button mat-icon-button [matMenuTriggerFor]="resClassMenu" class="res-class-menu" [disabled]="!ontology.lastModificationDate" (click)="canBeDeleted()">
Expand Down Expand Up @@ -82,7 +82,9 @@
<!-- button to assign new property to class -->
<mat-list-item *ngIf="lastModificationDate && projectStatus" class="property link" [matMenuTriggerFor]="addPropertyMenu">
<!-- here we have to know if the class has values or not;
this information is important to handle the cardinality (1 resp. 1-n); we get this information from the canReplaceCardinality method -->
<mat-list-item *ngIf="lastModificationDate && projectStatus" class="property link" [matMenuTriggerFor]="addPropertyMenu" (click)="canReplaceCardinality()">
<span mat-list-icon class="list-icon">
Expand Down

0 comments on commit 3c2409a

Please sign in to comment.