summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-05-13 00:18:56 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-05-13 00:19:02 +0800
commit875fc6eab813e28e3b4ccee01362ae751a2824c9 (patch)
tree41edb59f22ae73aeea21fdf224448dbb7b7f4089 /usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts
parent3e7c63ee74ebf9f632e20c8eb5294afbdbe0d5a8 (diff)
Support OTN Domain Management
Change-Id: I4e431e642c1f0ec1d998614f861ee0909c1c5ffe Issue-ID: USECASEUI-226 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts')
-rw-r--r--usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts b/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts
index 3bf4aa70..cfd32f7c 100644
--- a/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts
+++ b/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts
@@ -82,6 +82,7 @@ export class CcvpnNetworkComponent implements OnInit {
}
addLinkDisabled = true;
+ nonetwork = false;
isVisible = false;
outCloudShow = false;
inputshow = false;
@@ -169,8 +170,10 @@ export class CcvpnNetworkComponent implements OnInit {
.subscribe((data) => {
if (data.length == 0) {
this.addLinkDisabled = false;
+ this.nonetwork = true;
return;
}
+ this.nonetwork = false;
for (let ii = 0; ii < data.length; ii++) {//Determine if there is external cloud information in the data, and kick it out.
if (data[ii]['aaiId'] != null) {
this.dataCloud = data.splice(ii, 1);