diff options
Diffstat (limited to 'catalog-ui/src/app/directives/graphs-v2/deployment-graph')
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; }); |