Skip to content

Commit

Permalink
fix display_in_multiple_languages method to add the missing params
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilelkihal committed Feb 4, 2025
1 parent a432234 commit c4e4b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/multi_languages_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def main_language_label(label)
end

# @param label String | Array | OpenStruct
def display_in_multiple_languages(label)
def display_in_multiple_languages(label, style_as_badge: false, show_max: nil)
if label.blank?
return render Display::AlertComponent.new(message: t('ontology_details.concept.no_preferred_name_for_selected_language'),
type: "warning",
Expand Down

0 comments on commit c4e4b1d

Please sign in to comment.