diff options
author | franciscovila <javier.paradela.vila@est.tech> | 2022-11-01 14:21:27 +0000 |
---|---|---|
committer | Andr� Schmid <andre.schmid@est.tech> | 2022-11-17 11:09:02 +0000 |
commit | 1913ab4377e68b1215d4422fc0448c023211d739 (patch) | |
tree | 0f04d7845c02312822597cc8bd8aa4c571eaa325 /catalog-ui/src/app/models/properties-inputs | |
parent | 9eaadef100656d575d8cdeb92e0179dae9ac4828 (diff) |
Issues with 'range' data type detected
Fix issues with range data type
Issue-ID: SDC-4243
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: Ie93f8c38b766d78f890dbe2b854a096bb8546fe8
Diffstat (limited to 'catalog-ui/src/app/models/properties-inputs')
-rw-r--r-- | catalog-ui/src/app/models/properties-inputs/property-be-model.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/catalog-ui/src/app/models/properties-inputs/property-be-model.ts b/catalog-ui/src/app/models/properties-inputs/property-be-model.ts index b8cccdd213..b4c1c2fce7 100644 --- a/catalog-ui/src/app/models/properties-inputs/property-be-model.ts +++ b/catalog-ui/src/app/models/properties-inputs/property-be-model.ts @@ -33,7 +33,8 @@ export enum DerivedPropertyType { SIMPLE, LIST, MAP, - COMPLEX + COMPLEX, + RANGE } export class PropertyPolicyDetail { policyId: string; @@ -140,6 +141,9 @@ export class PropertyBEModel { if (this.type === PROPERTY_TYPES.LIST) { return DerivedPropertyType.LIST; } + if (this.type === PROPERTY_TYPES.RANGE) { + return DerivedPropertyType.RANGE; + } if (this.type === PROPERTY_TYPES.MAP) { return DerivedPropertyType.MAP; } |