Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Commit 077268e

Browse files
author
Hoang Nguyen
authored
add a link to the private gateway (#828)
1 parent 04a5ca9 commit 077268e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/view/ListView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<span v-else>{{ text }}</span>
102102
</span>
103103
<span slot="ipaddress" slot-scope="text, record" href="javascript:;">
104-
<router-link v-if="$route.path === '/publicip'" :to="{ path: $route.path + '/' + record.id }">{{ text }}</router-link>
104+
<router-link v-if="['/publicip', '/privategw'].includes($route.path)" :to="{ path: $route.path + '/' + record.id }">{{ text }}</router-link>
105105
<span v-else>{{ text }}</span>
106106
<span v-if="record.issourcenat">
107107
&nbsp;

0 commit comments

Comments
 (0)