This commit is contained in:
hamid zarghami
2026-02-22 12:03:32 +03:30
parent e6e1878cb2
commit 11f8f4326b
19 changed files with 64 additions and 62 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ type Props = {
const OrderItem: FC<Props> = ({ item, estimatedDays }) => {
const { id } = useParams()
const { data: fields } = useGetEntityField(item.product?.id)
const { data: fields } = useGetEntityField(String(item.product?.id ?? ''))
return (
@@ -67,7 +67,7 @@ const OrderItem: FC<Props> = ({ item, estimatedDays }) => {
</div>
{
fields?.data?.map((field) => {
const value = item.attributes?.find((o => Number(o.attributeId) === Number(field.id)))
const value = item.attributes?.find((o) => String(o.attributeId) === String(field.id))
return (