feat(F-090): completed feature
This commit is contained in:
@@ -455,13 +455,13 @@ export function InventorySection({ productId }: InventorySectionProps) {
|
||||
onClick={() =>
|
||||
setRows((prev) => ({
|
||||
...prev,
|
||||
[variant.id]: { ...prev[variant.id], editingSku: true, skuValue: variant.sku },
|
||||
[variant.id]: { ...prev[variant.id], editingSku: true, skuValue: r.variant.sku },
|
||||
}))
|
||||
}
|
||||
title="Clic para editar SKU"
|
||||
className="font-mono text-xs text-gray-600 hover:text-[#2D6A4F] cursor-text text-left w-full truncate block"
|
||||
>
|
||||
{variant.sku}
|
||||
{r.variant.sku}
|
||||
</button>
|
||||
)}
|
||||
</td>
|
||||
@@ -503,14 +503,14 @@ export function InventorySection({ productId }: InventorySectionProps) {
|
||||
[variant.id]: {
|
||||
...prev[variant.id],
|
||||
editingEan: true,
|
||||
eanValue: variant.ean ?? '',
|
||||
eanValue: r.variant.ean ?? '',
|
||||
},
|
||||
}))
|
||||
}
|
||||
title="Clic para editar EAN"
|
||||
className="font-mono text-xs text-gray-500 hover:text-[#2D6A4F] cursor-text text-left w-full truncate block"
|
||||
>
|
||||
{variant.ean ?? '—'}
|
||||
{r.variant.ean ?? '—'}
|
||||
</button>
|
||||
)}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user