Skip to content

Commit

Permalink
fix: Readd storage to host's compute details (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
nadjaheitmann authored Nov 6, 2024
1 parent 04082e4 commit 5dea655
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
:virtual_path => 'hosts/_compute',
:name => 'update_react_component_to_virtual_machine_tab',
:replace => "erb[loud]:contains('hosts/compute_detail')",
:partial => 'compute_resources_vms/form/proxmox/update_react_component_to_host_form'
:partial => 'compute_resources_vms/form/proxmox/update_react_component_to_host_form',
:original => 'c71aceb245363af92515509d25cac0c066bd58ed'
)
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ along with ForemanFogProxmox. If not, see <http://www.gnu.org/licenses/>. %>
<%= render :partial => provider_partial(compute_resource, 'base'),
locals: { f: compute, host: host, compute_resource: compute_resource, new_host: host.new_record?, new_vm: !compute.object.persisted?,
arch: host.architecture_id, os: host.operatingsystem_id } %>

<!--Storage-->
<%= render :partial => 'compute_resources_vms/form/volumes', :locals => { :f => compute, :compute_resource => compute_resource, :new_host => !compute.object.persisted?, :new_vm => !compute.object.persisted?, :item_layout => 'removable' } %>
<% end %>

0 comments on commit 5dea655

Please sign in to comment.