Fix map entry deletion in inputs of map<complex> 51/127851/1
authorandre.schmid <andre.schmid@est.tech>
Wed, 16 Mar 2022 16:52:09 +0000 (16:52 +0000)
committerandre.schmid <andre.schmid@est.tech>
Wed, 16 Mar 2022 16:52:09 +0000 (16:52 +0000)
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>
catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.html

index 0449da7..47e50b0 100644 (file)
@@ -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>
             [isMapChild]="true"
             [nestingLevel]="nestingLevel + 1"
             [isViewOnly]="isViewOnly"
+            [allowDeletion]="allowDeletion"
             (onValueChange)="onPropertyValueChange($event)"
             (onDelete)="onMapKeyDelete($event)">
         </app-input-list-item>