Skip to content

Commit

Permalink
Fixes #36744 - VM tab (legacy UI) shows error in case host is not ass…
Browse files Browse the repository at this point in the history
…ociated to VM
  • Loading branch information
goarsna authored and MariaAga committed Dec 7, 2023
1 parent a869ca4 commit 3980566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/hosts/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<% if @host.managed? %>
<li><a href="#template" data-toggle="tab"><%= _('Templates') %></a></li>
<% end %>
<% if @host.compute_resource_id %>
<% if @host.compute_resource_id && @host.uuid %>
<li><a href="#vm" data-toggle="tab"><%= _('VM') %></a></li>
<% end %>
<% if @host.bmc_available? %>
Expand Down

0 comments on commit 3980566

Please sign in to comment.