app/views/lookbook/inspector/panels/_params.html.erb in lookbook-1.3.4 vs app/views/lookbook/inspector/panels/_params.html.erb in lookbook-1.4.0

- old
+ new

@@ -1,12 +1,12 @@ <% if @params.none? %> - <div class="p-4 w-full h-full bg-lookbook-prose-bg"> + <div class="p-4 w-full h-full bg-lookbook-prose-bg" id="params-editor-blank-slate"> <%= lookbook_render :prose do %> <em class='opacity-50'>No params configured.</em> <% end %> </div> <% else %> - <div class="p-4 w-full h-full overflow-x-hidden"> + <div class="p-4 w-full h-full overflow-x-hidden" id="params-editor-<%= @target.id %>"> <%= lookbook_render "params/editor" do |editor| %> <% @params.each do |param| %> <% editor.field param: param %> <% end %> <% end %>