Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Admin] Add stock_items/edit modal component #5543

Merged
merged 9 commits into from
Dec 12, 2023
Prev Previous commit
Next Next commit
Add missing translation in stock items index image column
Co-Authored-By: Elia Schito <[email protected]>
  • Loading branch information
rainerdema and elia committed Dec 11, 2023
commit db985f249fd4c15309ac3dfb616bed57b2cf2817
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def columns
def image_column
{
col: { class: "w-[72px]" },
header: tag.span('aria-label': t('.image'), role: 'text'),
header: tag.span('aria-label': Spree::Image.model_name.human, role: 'text'),
data: ->(stock_item) do
image = stock_item.variant.gallery.images.first or return

Expand Down