From: MichaelMorris Date: Tue, 17 May 2022 09:12:03 +0000 (+0100) Subject: Fix delete of entry from list of maps X-Git-Tag: 1.11.3~4 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=f9498e6ee979e33fcd42b3d54551b19e4ab84a8f;p=sdc.git Fix delete of entry from list of maps Signed-off-by: MichaelMorris Issue-ID: SDC-4007 Change-Id: Idf60ceabe5a992ece44553d7dc85e63b6ad6fec3 --- diff --git a/catalog-ui/src/app/ng2/components/logic/properties-table/dynamic-property/dynamic-property.component.ts b/catalog-ui/src/app/ng2/components/logic/properties-table/dynamic-property/dynamic-property.component.ts index 1e51b41bf0..865aea6598 100644 --- a/catalog-ui/src/app/ng2/components/logic/properties-table/dynamic-property/dynamic-property.component.ts +++ b/catalog-ui/src/app/ng2/components/logic/properties-table/dynamic-property/dynamic-property.component.ts @@ -210,7 +210,7 @@ export class DynamicPropertyComponent { return; } - if (item.derivedDataType == DerivedPropertyType.MAP) { + if (item.derivedDataType == DerivedPropertyType.MAP && !item.mapInlist) { const oldKey = item.getActualMapKey(); delete itemParent.valueObj[oldKey]; if (itemParent instanceof PropertyFEModel) {