This is an automated email from the ASF dual-hosted git repository.
nvazquez pushed a commit to branch 4.15
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.15 by this push:
new 29090fe Only display information, if they are relevant (#5206)
29090fe is described below
commit 29090fe4ab46e7daaba71c5b1f35c38c3f61e516
Author: Michael <[email protected]>
AuthorDate: Mon Jul 26 13:28:07 2021 +0200
Only display information, if they are relevant (#5206)
---
ui/src/views/infra/HostInfo.vue | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ui/src/views/infra/HostInfo.vue b/ui/src/views/infra/HostInfo.vue
index 2c98143..e867956 100644
--- a/ui/src/views/infra/HostInfo.vue
+++ b/ui/src/views/infra/HostInfo.vue
@@ -43,7 +43,7 @@
</div>
</div>
</a-list-item>
- <a-list-item>
+ <a-list-item v-if="host.hosttags">
<div>
<strong>{{ $t('label.hosttags') }}</strong>
<div>
@@ -51,7 +51,7 @@
</div>
</div>
</a-list-item>
- <a-list-item>
+ <a-list-item v-if="host.oscategoryid">
<div>
<strong>{{ $t('label.oscategoryid') }}</strong>
<div>
@@ -83,7 +83,7 @@
</div>
</div>
</a-list-item>
- <a-list-item v-if="host.hostha">
+ <a-list-item v-if="host.hostha && host.hostha.haenable">
<div>
<strong>{{ $t('label.hastate') }}</strong>
<div>
@@ -91,7 +91,7 @@
</div>
</div>
</a-list-item>
- <a-list-item v-if="host.hostha">
+ <a-list-item v-if="host.hostha && host.hostha.haenable">
<div>
<strong>{{ $t('label.haprovider') }}</strong>
<div>