summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/utils/common-utils.ts
diff options
context:
space:
mode:
authorTal Gitelman <tg851x@intl.att.com>2017-06-29 19:30:00 +0300
committerMichael Lando <ml636r@att.com>2017-06-29 21:32:19 +0300
commited7e1c3dfe332abc67ed943717db2ee94406f95e (patch)
treee0f2f39596656456272900f59aadc3dff6c6e828 /catalog-ui/src/app/utils/common-utils.ts
parent68ccc45de18f41cddb79de33a245bceb3b063ffb (diff)
[SDC] rebase code
Change-Id: I456ec65a233d277e6bae35e140f2e3da5765bae6 Signed-off-by: Tal Gitelman <tg851x@intl.att.com> Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-ui/src/app/utils/common-utils.ts')
-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));
})
}