add a link to the private gateway (#828)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Hoang Nguyen 2020-10-28 11:41:14 +07:00 committed by Rohit Yadav
parent 5f402e1037
commit 23b928e1b2
1 changed files with 1 additions and 1 deletions

View File

@ -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;