aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2022-03-16 16:52:09 +0000
committerandre.schmid <andre.schmid@est.tech>2022-03-16 16:52:09 +0000
commit50cb22ed77073eb771e4c59d9d97d4c7b1a27796 (patch)
tree7d295057505a680848a8d87bbf21a700332a4f7b
parent0e35ad02b22bd49c01df57adbe1ea1ce995f823c (diff)
Fix map entry deletion in inputs of map<complex>
Fixes map entry delete icon not showing for inputs of type map<complex> in an interface operation. Change-Id: I4d1f4a0e60e860b33f16d6ef68980b4d566c93c7 Issue-ID: SDC-3921 Signed-off-by: andre.schmid <andre.schmid@est.tech>
-rw-r--r--catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.html b/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.html
index 0449da7d05..47e50b03ad 100644
--- a/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.html
+++ b/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.html
@@ -50,6 +50,7 @@
[schema]="property.schema"
[nestingLevel]="nestingLevel + 1"
[isViewOnly]="isViewOnly"
+ [allowDeletion]="allowDeletion"
(onValueChange)="onPropertyValueChange($event)">
</app-input-list-item>
</ng-container>
@@ -76,6 +77,7 @@
[listIndex]="i"
[isListChild]="true"
[isViewOnly]="isViewOnly"
+ [allowDeletion]="allowDeletion"
(onValueChange)="onPropertyValueChange($event)"
(onChildListItemDelete)="onListItemDelete($event)">
</app-input-list-item>
@@ -106,6 +108,7 @@
[isMapChild]="true"
[nestingLevel]="nestingLevel + 1"
[isViewOnly]="isViewOnly"
+ [allowDeletion]="allowDeletion"
(onValueChange)="onPropertyValueChange($event)"
(onDelete)="onMapKeyDelete($event)">
</app-input-list-item>