aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2022-09-08 16:49:58 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2022-09-09 14:04:38 +0000
commitcc13802507c3787d341ac1a5d50b539fc1174987 (patch)
tree8286438d54524b8a56bdac837600cc0d33e910bc /catalog-ui/src
parent9699b67917b34c1a10536d353cef09d8904354a6 (diff)
Temp fix to allow tosca functions in op props
Temporary measure to unblock using tosca function values in operation implementation properties. To be removed when SDC-4170 is implemented Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4171 Change-Id: Id5925c286a76ea60d5bf9ce97124a4cbbd1ca216
Diffstat (limited to 'catalog-ui/src')
-rw-r--r--catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.ts11
1 files changed, 0 insertions, 11 deletions
diff --git a/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.ts b/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.ts
index 7c0465f62a..7fed5d9e88 100644
--- a/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.ts
+++ b/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.ts
@@ -110,14 +110,6 @@ export class InputListItemComponent implements OnInit {
}
onValueChange(value: any): void {
- if (this.type.name == PROPERTY_TYPES.INTEGER || this.type.name == PROPERTY_TYPES.FLOAT) {
- this.emitValueChangeEvent(this.parseNumber(value));
- return;
- }
- if (this.type.name == PROPERTY_TYPES.BOOLEAN) {
- this.emitValueChangeEvent(this.parseBoolean(value));
- return;
- }
this.emitValueChangeEvent(value);
}
@@ -222,9 +214,6 @@ export class InputListItemComponent implements OnInit {
}
getSimpleValueInputType() {
- if (this.type.name == PROPERTY_TYPES.INTEGER || this.type.name == PROPERTY_TYPES.FLOAT) {
- return 'number';
- }
return 'text';
}