Skip to content

Commit

Permalink
Fix reportable-type for report component
Browse files Browse the repository at this point in the history
  • Loading branch information
rubhanazeem committed Sep 15, 2023
1 parent e52459e commit b21d089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/components/report_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def initialize(modal_id:, options: {})
end

def confirmation_text
"Are you sure you want to report this #{@object_type.class.name.downcase}?"
"Are you sure you want to report this #{@object_type.downcase}?"

Check warning on line 17 in src/api/app/components/report_component.rb

View check run for this annotation

Codecov / codecov/patch

src/api/app/components/report_component.rb#L17

Added line #L17 was not covered by tests
end

def render?
Expand Down

0 comments on commit b21d089

Please sign in to comment.