mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
components: minor fixes
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
9d39bc8de5
commit
9ec5a60642
@ -96,6 +96,9 @@
|
||||
<template slot="state" slot-scope="text">
|
||||
<status :text="text ? text : ''" displayText />
|
||||
</template>
|
||||
<template slot="agentstate" slot-scope="text">
|
||||
<status :text="text ? text : ''" displayText />
|
||||
</template>
|
||||
<a slot="guestnetworkname" slot-scope="text, record" href="javascript:;">
|
||||
<router-link :to="{ path: '/guestnetwork/' + record.guestnetworkid }">{{ text }}</router-link>
|
||||
</a>
|
||||
|
||||
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user