summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/utils
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/utils')
-rw-r--r--catalog-ui/src/app/utils/common-utils.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/catalog-ui/src/app/utils/common-utils.ts b/catalog-ui/src/app/utils/common-utils.ts
index d8019d2f96..acfbd80ff4 100644
--- a/catalog-ui/src/app/utils/common-utils.ts
+++ b/catalog-ui/src/app/utils/common-utils.ts
@@ -1,6 +1,6 @@
import {Module, AttributeModel, ResourceInstance, PropertyModel, InputFEModel} from "../models";
import {ComponentInstanceFactory} from "./component-instance-factory";
-import {PropertyBEModel, RelationshipModel} from "app/models";
+import {InputBEModel, PropertyBEModel, RelationshipModel} from "app/models";
export class CommonUtils {
@@ -57,13 +57,13 @@ export class CommonUtils {
return modules;
};
- static initInputs(inputsObj:Array<PropertyBEModel>):Array<PropertyBEModel> {
+ static initInputs(inputsObj: Array<InputBEModel>): Array<InputBEModel> {
- let inputs = new Array<PropertyBEModel>();
+ let inputs = new Array<InputBEModel>();
if(inputsObj) {
- _.forEach(inputsObj, (input:PropertyBEModel):void => {
- inputs.push(new PropertyBEModel(input));
+ _.forEach(inputsObj, (input: InputBEModel):void => {
+ inputs.push(new InputBEModel(input));
})
}