Code Review
/
sdc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Issues with 'range' data type detected
[sdc.git]
/
catalog-ui
/
src
/
app
/
models
/
properties-inputs
/
property-be-model.ts
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
b8cccdd
..
b4c1c2f
100644
(file)
--- 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,
SIMPLE,
LIST,
MAP,
- COMPLEX
+ COMPLEX,
+ RANGE
}
export class PropertyPolicyDetail {
policyId: string;
}
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.LIST) {
return DerivedPropertyType.LIST;
}
+ if (this.type === PROPERTY_TYPES.RANGE) {
+ return DerivedPropertyType.RANGE;
+ }
if (this.type === PROPERTY_TYPES.MAP) {
return DerivedPropertyType.MAP;
}
if (this.type === PROPERTY_TYPES.MAP) {
return DerivedPropertyType.MAP;
}