From 9ec5a60642ae44df8d367a3f5ad6feb0e7e9ce74 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Mon, 10 Feb 2020 14:54:36 +0530 Subject: [PATCH] components: minor fixes Signed-off-by: Rohit Yadav --- ui/src/components/view/ListView.vue | 3 +++ ui/src/components/view/ResourceView.vue | 12 +----------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/ui/src/components/view/ListView.vue b/ui/src/components/view/ListView.vue index a3f1eae87c4..0423fd70c99 100644 --- a/ui/src/components/view/ListView.vue +++ b/ui/src/components/view/ListView.vue @@ -96,6 +96,9 @@ + {{ text }} diff --git a/ui/src/components/view/ResourceView.vue b/ui/src/components/view/ResourceView.vue index cf2ba07dbba..d2fdf0c6ba0 100644 --- a/ui/src/components/view/ResourceView.vue +++ b/ui/src/components/view/ResourceView.vue @@ -86,8 +86,7 @@ export default { data () { return { activeTab: '', - networkService: null, - vpnEnabled: false + networkService: null } }, watch: { @@ -100,15 +99,6 @@ export default { this.networkService = response.listnetworksresponse.network[0] }) } - - if (this.resource.id && this.resource.ipaddress) { - api('listRemoteAccessVpns', { - publicipid: this.resource.id, - listAll: true - }).then(response => { - this.vpnEnabled = response.listremoteaccessvpnsresponse.remoteaccessvpn && response.listremoteaccessvpnsresponse.remoteaccessvpn.length > 0 - }) - } } }, methods: {