From 1f4a46768bd1cf1771b9f2a11cfc916fc59229de Mon Sep 17 00:00:00 2001 From: vasraz Date: Fri, 10 Feb 2023 00:35:41 +0000 Subject: Fix major bug reported by Sonar Signed-off-by: Vasyl Razinkov Change-Id: Ia87982bfbaca144c1188e38a0bfbe7e36563c09f Issue-ID: SDC-4381 --- .../type-workspace-properties/type-workspace-properties.component.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'catalog-ui') diff --git a/catalog-ui/src/app/ng2/pages/type-workspace/type-workspace-properties/type-workspace-properties.component.ts b/catalog-ui/src/app/ng2/pages/type-workspace/type-workspace-properties/type-workspace-properties.component.ts index f9eaa1332d..d96c81ad17 100644 --- a/catalog-ui/src/app/ng2/pages/type-workspace/type-workspace-properties/type-workspace-properties.component.ts +++ b/catalog-ui/src/app/ng2/pages/type-workspace/type-workspace-properties/type-workspace-properties.component.ts @@ -212,8 +212,6 @@ export class TypeWorkspacePropertiesComponent implements OnInit { if (property.defaultValue) { if (!this.isTypeSimple(property.type) && typeof property.defaultValue === 'string') { property.defaultValue = JSON.parse(property.defaultValue); - } else { - property.defaultValue = property.defaultValue; } } return property; -- cgit 1.2.3-korg