summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/directives/graphs-v2/deployment-graph
diff options
context:
space:
mode:
authorAnjali walsatwar <anjali.walsatwar@huawei.com>2018-10-10 12:08:26 +0530
committerIdan Amit <ia096e@intl.att.com>2018-10-11 05:49:34 +0000
commite1a89b4c9b95a1b0d75b870a8c60034986229b2e (patch)
treeaf9d9ebc029ca4b0628710cc22f9c91116be8649 /catalog-ui/src/app/directives/graphs-v2/deployment-graph
parentee2eb99f5e996b941757c2e747af6df0db61ffc6 (diff)
graph-v2 refactoring
Issue-ID: SDC-1789 Change-Id: Ic06c392a62a9db35d561e62c95ecb2a53e428cd9 Signed-off-by: Anjali walsatwar <anjali.walsatwar@huawei.com>
Diffstat (limited to 'catalog-ui/src/app/directives/graphs-v2/deployment-graph')
-rw-r--r--catalog-ui/src/app/directives/graphs-v2/deployment-graph/deployment-graph.directive.ts2
-rw-r--r--catalog-ui/src/app/directives/graphs-v2/deployment-graph/deployment-utils/deployment-graph-general-utils.ts6
2 files changed, 4 insertions, 4 deletions
diff --git a/catalog-ui/src/app/directives/graphs-v2/deployment-graph/deployment-graph.directive.ts b/catalog-ui/src/app/directives/graphs-v2/deployment-graph/deployment-graph.directive.ts
index f335ea02d9..159a1c8347 100644
--- a/catalog-ui/src/app/directives/graphs-v2/deployment-graph/deployment-graph.directive.ts
+++ b/catalog-ui/src/app/directives/graphs-v2/deployment-graph/deployment-graph.directive.ts
@@ -28,7 +28,7 @@ import { ModulesNodesStyle } from "../common/style/module-node-style";
import { GRAPH_EVENTS } from "app/utils";
import { EventListenerService } from "app/services";
import '@bardit/cytoscape-expand-collapse';
-import {AngularJSBridge} from "../../../services/angular-js-bridge-service";
+import { AngularJSBridge } from "../../../services/angular-js-bridge-service";
interface IDeploymentGraphScope extends ng.IScope {
component: Component;
diff --git a/catalog-ui/src/app/directives/graphs-v2/deployment-graph/deployment-utils/deployment-graph-general-utils.ts b/catalog-ui/src/app/directives/graphs-v2/deployment-graph/deployment-utils/deployment-graph-general-utils.ts
index ebd1f5b205..5d0f38fd5e 100644
--- a/catalog-ui/src/app/directives/graphs-v2/deployment-graph/deployment-utils/deployment-graph-general-utils.ts
+++ b/catalog-ui/src/app/directives/graphs-v2/deployment-graph/deployment-utils/deployment-graph-general-utils.ts
@@ -19,7 +19,7 @@
*/
import * as _ from "lodash";
-import {Module} from "app/models";
+import { Module } from "app/models";
/**
* Created by obarda on 12/21/2016.
*/
@@ -30,8 +30,8 @@ export class DeploymentGraphGeneralUtils {
}
- public findInstanceModule = (groupsArray:Array<Module>, componentInstanceId:string):string => {
- let parentGroup:Module = _.find(groupsArray, (group:Module) => {
+ public findInstanceModule = (groupsArray: Array<Module>, componentInstanceId: string): string => {
+ let parentGroup: Module = _.find(groupsArray, (group: Module) => {
return _.find((<any>Object).values(group.members), (member: string) => {
return member === componentInstanceId;
});