From 436c2704717d66fbb817589dda4c12ac50f6fece Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Kilchenmann?= Date: Tue, 19 Oct 2021 15:12:34 +0200 Subject: [PATCH] feat(ontology): delete property from resource class (DSP-1854 / DEV-28) (#499) * feat(ontology): delete property from resource class * feat(ontology): add can delete and delete prop handler * test(ontology): fix tests * style(ontology): fix style issue in res class info --- .../property-info.component.html | 21 ++- .../property-info.component.scss | 4 + .../property-info.component.spec.ts | 23 ++-- .../property-info/property-info.component.ts | 126 ++++++++++++------ .../resource-class-info.component.html | 8 +- .../resource-class-info.component.ts | 24 ++-- 6 files changed, 122 insertions(+), 84 deletions(-) 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 65a6e95ee8..50fe17c85b 100644 --- a/src/app/project/ontology/property-info/property-info.component.html +++ b/src/app/project/ontology/property-info/property-info.component.html @@ -1,7 +1,7 @@
- {{propType?.icon}} @@ -20,7 +20,7 @@
- + {{propDef.id | split: '#':1}}  ·  @@ -48,17 +48,16 @@
-
+
- - - - @@ -66,12 +65,12 @@
- - +