Skip to content

Commit

Permalink
fix rendering of the react layout
Browse files Browse the repository at this point in the history
it's currently unused, so nobody reported the issues yet
  • Loading branch information
evgeni authored and stejskalleos committed Nov 14, 2023
1 parent 776ff71 commit 052226a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/foreman_puppet/layouts/application_react.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
<% end %>

<% content_for(:content) do %>
<%= notifications %>
<div id="organization-id" data-id="<%= Organization.current.id if Organization.current %>" ></div>
<div id="user-id" data-id="<%= User.current.id if User.current %>" ></div>
<%= react_component('ForemanPuppet') %>
<% end %>
<%= render file: "layouts/base" %>
<%= render template: "layouts/base" %>

0 comments on commit 052226a

Please sign in to comment.