diff options
author | vasraz <vasyl.razinkov@est.tech> | 2023-02-10 00:35:41 +0000 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2023-02-10 11:29:05 +0000 |
commit | 1f4a46768bd1cf1771b9f2a11cfc916fc59229de (patch) | |
tree | 81ec0ea13000f226f0a72966cedc7ab0f41b752f | |
parent | f7dee08d8e56fc023aeb6f12aa2f688978545e01 (diff) |
Fix major bug reported by Sonar
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Ia87982bfbaca144c1188e38a0bfbe7e36563c09f
Issue-ID: SDC-4381
-rw-r--r-- | catalog-ui/src/app/ng2/pages/type-workspace/type-workspace-properties/type-workspace-properties.component.ts | 2 |
1 files changed, 0 insertions, 2 deletions
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; |