app/components/solidus_admin/layout/navigation/account/component.rb in solidus_admin-0.3.1 vs app/components/solidus_admin/layout/navigation/account/component.rb in solidus_admin-0.3.2

- old
+ new

@@ -9,11 +9,11 @@ end def locale_options_for_select(available_locales) available_locales.map do |locale| [ - t("spree.i18n.this_file_language", locale: locale, default: locale.to_s, fallback: false), + t("spree.i18n.this_file_language", locale:, default: locale.to_s, fallback: false), locale, ] end.sort end @@ -25,10 +25,10 @@ form_tag(request.fullpath, method: :get, 'data-turbo': false, class: "w-full") do safe_join([ block_given? ? capture(&block) : nil, tag.label(safe_join([ icon_tag(icon, class: "w-full max-w-[20px] h-5 fill-current shrink"), - tag.select(options, name: name, onchange: "this.form.requestSubmit()", class: "w-full appearance-none grow bg-transparent outline-none"), + tag.select(options, name:, onchange: "this.form.requestSubmit()", class: "w-full appearance-none grow bg-transparent outline-none"), icon_tag("expand-up-down-line", class: "w-full max-w-[20px] h-5 fill-current shrink"), ]), class: "flex gap-2 items-center px-2"), ]) end end