From a81de204c04955c97a67929d2f7e0a2ad7c97912 Mon Sep 17 00:00:00 2001 From: Markus Reisner Date: Tue, 12 Sep 2023 09:48:08 +0200 Subject: [PATCH] Fixes #36744 - VM tab (legacy UI) shows error in case host is not associated to VM --- app/views/hosts/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/hosts/show.html.erb b/app/views/hosts/show.html.erb index 1747f7643cd..7632a28df9a 100644 --- a/app/views/hosts/show.html.erb +++ b/app/views/hosts/show.html.erb @@ -34,7 +34,7 @@ <% if @host.managed? %>
  • <%= _('Templates') %>
  • <% end %> - <% if @host.compute_resource_id %> + <% if @host.compute_resource_id && @host.uuid %>
  • <%= _('VM') %>
  • <% end %> <% if @host.bmc_available? %>