Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
binarygit committed Aug 15, 2024
1 parent 881f0dc commit 4e348c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/avo/views/resource_edit_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def controls

# Render :show view for read only trix fields
def view_for(field)
field.is_a?(Avo::Fields::TrixField) && field.is_disabled? ? :show : @view
(field.is_a?(Avo::Fields::TrixField) && field.is_disabled?) ? :show : @view
end

private
Expand Down

0 comments on commit 4e348c1

Please sign in to comment.