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

bstoyanov pushed a commit to branch 4.22
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.22 by this push:
     new bd459a4c4c7 ui: allow viewing hosts from management server connected 
agents (#12149)
bd459a4c4c7 is described below

commit bd459a4c4c79ff9ef20be4894a4c472ea52a4632
Author: Abhishek Kumar <[email protected]>
AuthorDate: Thu Jan 29 13:30:54 2026 +0530

    ui: allow viewing hosts from management server connected agents (#12149)
    
    Signed-off-by: Abhishek Kumar <[email protected]>
---
 ui/src/components/view/ListView.vue | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/ui/src/components/view/ListView.vue 
b/ui/src/components/view/ListView.vue
index ebdfe3df1b4..7fd344da209 100644
--- a/ui/src/components/view/ListView.vue
+++ b/ui/src/components/view/ListView.vue
@@ -868,6 +868,14 @@
       <template v-if="['isfeatured'].includes(column.key) && 
['guestoscategory'].includes($route.path.split('/')[1])">
         {{ record.isfeatured ? $t('label.yes') : $t('label.no') }}
       </template>
+      <template v-if="['agentscount'].includes(column.key)">
+        <router-link
+          v-if="['managementserver'].includes($route.path.split('/')[1]) && 
$router.resolve('/host').matched[0].redirect !== '/exception/404'"
+          :to="{ path: '/host', query: { managementserverid: record.id } }">
+          {{ text }}
+        </router-link>
+        <span v-else> {{ text }} </span>
+      </template>
       <template v-if="column.key === 'order'">
         <div class="shift-btns">
           <a-tooltip

Reply via email to