You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/10/20 15:00:35 UTC

[GitHub] [cloudstack-primate] rhtyd commented on a change in pull request #812: infocard: Adding support to redirect to publicip

rhtyd commented on a change in pull request #812:
URL: https://github.com/apache/cloudstack-primate/pull/812#discussion_r508584864



##########
File path: src/components/view/InfoCard.vue
##########
@@ -308,7 +308,8 @@
               type="environment"
               @click="$message.success(`${$t('label.copied.clipboard')} : ${ ipaddress }`)"
               v-clipboard:copy="ipaddress" />
-            <span>{{ ipaddress }}</span>
+            <router-link v-if="resource.ipaddressid" :to="{ path: '/publicip/' + resource.ipaddressid }">{{ ipaddress }}</router-link>

Review comment:
       We need to check if ip address is always public IP address?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org