ui: allow viewing hosts from management server connected agents (#12149)

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2026-01-29 13:30:54 +05:30 committed by GitHub
parent 286e406e38
commit bd459a4c4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

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