diff options
author | 2020-02-26 16:33:52 +0800 | |
---|---|---|
committer | 2020-02-26 16:33:52 +0800 | |
commit | 8a0e999b11d04d600cdf0414c7d644bacef8c5e1 (patch) | |
tree | 1a75a4535bfe0903c9382d445757e0d964cfb229 /usecaseui-portal/src/app/views/services/sotn-management/monitor-service/monitor-service.component.ts | |
parent | 155c4912100293e60a3c85c589c55492aa502388 (diff) |
update the required angular modules and i18n resources for monitor service
Issue-ID: USECASEUI-387
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Change-Id: I26f9adde57216a1b9c6d18f3e280baadac2e16f9
Diffstat (limited to 'usecaseui-portal/src/app/views/services/sotn-management/monitor-service/monitor-service.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/views/services/sotn-management/monitor-service/monitor-service.component.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usecaseui-portal/src/app/views/services/sotn-management/monitor-service/monitor-service.component.ts b/usecaseui-portal/src/app/views/services/sotn-management/monitor-service/monitor-service.component.ts index 5e003ff3..9a427f2c 100644 --- a/usecaseui-portal/src/app/views/services/sotn-management/monitor-service/monitor-service.component.ts +++ b/usecaseui-portal/src/app/views/services/sotn-management/monitor-service/monitor-service.component.ts @@ -1,5 +1,5 @@ import { Component, OnInit } from '@angular/core'; -import { Network, DataSet, Node, Edge, IdType } from 'vis'; +import { Network, Node, Edge } from 'vis'; @Component({ selector: 'app-monitor-service', @@ -23,13 +23,13 @@ export class MonitorServiceComponent implements OnInit { serviceInstancename: "ISAAC-IS0333" } ]; - selectedTopology:string = 'Network Topology'; + selectedTopology:string = 'i18nTextDefine_networkTopology'; serviceTopologyList:any = [ { - topologyType:"Network Topology" + topologyType:"i18nTextDefine_networkTopology", }, { - topologyType:"Resource Topology" + topologyType:"i18nTextDefine_resourceTopology", } ]; @@ -230,7 +230,7 @@ export class MonitorServiceComponent implements OnInit { //Get SubscriptionType getSubscribeTypes() { - this.getTopologyInfo('Network Topology'); + this.getTopologyInfo('i18nTextDefine_networkTopology'); } getTopologyInfo (topo) { @@ -297,7 +297,7 @@ export class MonitorServiceComponent implements OnInit { getData () { - if (this.selectedTopology == 'Network Topology') { + if (this.selectedTopology == 'i18nTextDefine_networkTopology') { this.serviceList = this.node1; } else { this.serviceList = this.node2; |