app/components/lookbook/embed/inspector/component.rb in lookbook-2.0.5 vs app/components/lookbook/embed/inspector/component.rb in lookbook-2.1.0
- old
+ new
@@ -38,10 +38,10 @@
def display_action?(name)
actions.include?(name)
end
def scenario_select_options
- scenarios.map { |scenario| [scenario.label, helpers.lookbook_embed_path(scenario.path)] }
+ scenarios.map { |scenario| [scenario.label, helpers.lookbook_embed_path(scenario.lookup_path)] }
end
def display_option_controls?
options.fetch(:display_option_controls, true)
end