Skip to content
Browse files
fix(ontology): check if value exists without refreshing the page (DEV…
  • Loading branch information
kilchenmann committed May 31, 2022
1 parent 449493b commit 3c2409a4e5cf985d00b6be91ccc2d9ce728b2581
Showing 1 changed file with 4 additions and 2 deletions.
@@ -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()">
@@ -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">

0 comments on commit 3c2409a

Please sign in to comment.