Skip to content

Commit

Permalink
feat: check if @dashboard_scripts is present
Browse files Browse the repository at this point in the history
  • Loading branch information
scmmishra committed May 21, 2024
1 parent 846d3f4 commit 3e7aac1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/layouts/vueapp.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@
<div id="app"></div>
<noscript id="noscript">This app works best with JavaScript enabled.</noscript>
<%= yield %>
<%= @dashboard_scripts.html_safe %>
<% if @dashboard_scripts.present? %>
<%= @dashboard_scripts.html_safe %>
<% end %>
</body>
</html>

0 comments on commit 3e7aac1

Please sign in to comment.