summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2022-05-17 10:12:03 +0100
committerAndr� Schmid <andre.schmid@est.tech>2022-05-17 13:01:22 +0000
commitf9498e6ee979e33fcd42b3d54551b19e4ab84a8f (patch)
treee5ed5d9af813030c2f4aef8f7edd77ae98123888 /catalog-ui/src
parent121251c63b747ca0ffa3d15abfa73054e4c3d692 (diff)
Fix delete of entry from list of maps
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4007 Change-Id: Idf60ceabe5a992ece44553d7dc85e63b6ad6fec3
Diffstat (limited to 'catalog-ui/src')
-rw-r--r--catalog-ui/src/app/ng2/components/logic/properties-table/dynamic-property/dynamic-property.component.ts2
1 files changed, 1 insertions, 1 deletions
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) {