summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts
diff options
context:
space:
mode:
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);