lib/lookbook.rb in lookbook-2.0.0.beta.4 vs lib/lookbook.rb in lookbook-2.0.0.beta.5
- old
+ new
@@ -216,12 +216,12 @@
actioncable: Engine.runtime_context.actioncable_installed?,
listen: Engine.runtime_context.listen_installed?,
view_component: config.using_view_component
}
},
- {panels: Engine.panels.to_h},
- {inputs: Engine.inputs.to_h},
- {tags: Engine.tags.to_h}
+ {panels: Engine.panels.to_h.reject { |k, v| v[:system] }},
+ {inputs: Engine.inputs.to_h.reject { |k, v| v[:system] }},
+ {tags: Engine.tags.to_h.reject { |k, v| v[:system] }}
].inject(:merge)
}
end
alias_method :define_param_input, :add_input_type