You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/10/28 04:41:28 UTC

[cloudstack-primate] branch master updated: add a link to the private gateway (#828)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new 077268e  add a link to the private gateway (#828)
077268e is described below

commit 077268e8ee8b8fd9530ea8b33f928f04247127b8
Author: Hoang Nguyen <ho...@unitech.vn>
AuthorDate: Wed Oct 28 11:41:14 2020 +0700

    add a link to the private gateway (#828)
---
 src/components/view/ListView.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/view/ListView.vue b/src/components/view/ListView.vue
index b3d37c8..7ff0b34 100644
--- a/src/components/view/ListView.vue
+++ b/src/components/view/ListView.vue
@@ -101,7 +101,7 @@
       <span v-else>{{ text }}</span>
     </span>
     <span slot="ipaddress" slot-scope="text, record" href="javascript:;">
-      <router-link v-if="$route.path === '/publicip'" :to="{ path: $route.path + '/' + record.id }">{{ text }}</router-link>
+      <router-link v-if="['/publicip', '/privategw'].includes($route.path)" :to="{ path: $route.path + '/' + record.id }">{{ text }}</router-link>
       <span v-else>{{ text }}</span>
       <span v-if="record.issourcenat">
         &nbsp;