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

albumenj pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-admin.git


The following commit(s) were added to refs/heads/develop by this push:
     new 60c146f  Update ServiceDetail.vue (#921)
60c146f is described below

commit 60c146fedcdf0291ad44959f5d6fccbbd9e94806
Author: cnjxzhao <[email protected]>
AuthorDate: Tue Sep 6 13:42:15 2022 +0800

    Update ServiceDetail.vue (#921)
---
 dubbo-admin-ui/src/components/ServiceDetail.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-admin-ui/src/components/ServiceDetail.vue 
b/dubbo-admin-ui/src/components/ServiceDetail.vue
index bdb4c15..554e5ba 100644
--- a/dubbo-admin-ui/src/components/ServiceDetail.vue
+++ b/dubbo-admin-ui/src/components/ServiceDetail.vue
@@ -230,7 +230,7 @@
         return address != null ? address.split(':')[0] : null
       },
       getPort: function (address) {
-        return address != null && address.split(':').length >= 1 ? 
address.split(':')[1] : null
+        return address != null && address.split(':').length >= 2 ? 
address.split(':')[1] : null
       },
       toCopyText (text) {
         this.$copyText(text).then(() => {

Reply via email to