app/components/lookbook/params_editor/field/component.rb in lookbook-1.0.3 vs app/components/lookbook/params_editor/field/component.rb in lookbook-1.0.4
- old
+ new
@@ -31,10 +31,10 @@
end
protected
def alpine_data
- escaped_value = helpers.raw json_escape(value.to_json)
+ escaped_value = json_escape(value.to_json)
"{name: '#{name}', value: #{escaped_value}}"
end
def alpine_component
"paramsEditorFieldComponent"