Skip to content

Commit

Permalink
add a link to the private gateway (#828)
Browse files Browse the repository at this point in the history
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
  • Loading branch information
Hoang Nguyen authored and rohityadavcloud committed Jan 20, 2021
1 parent 5f402e1 commit 23b928e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/view/ListView.vue
Expand Up @@ -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;
Expand Down

0 comments on commit 23b928e

Please sign in to comment.