Skip to content

Commit

Permalink
fix: tag labels on box edit in msw
Browse files Browse the repository at this point in the history
  • Loading branch information
fhenrich33 committed Dec 18, 2024
1 parent 77547ff commit 7b9069a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions front/src/views/Boxes/components/transformers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ export const boxesRawDataToTableDataTransformer = (boxesQueryResult: BoxesForBox
(element) =>
({
labelIdentifier: element.labelIdentifier,
product: element.product!.name,
productCategory: element.product!.category.name,
gender: element.product!.gender,
product: element.product?.name,
productCategory: element.product?.category?.name,
gender: element.product?.gender,
numberOfItems: element.numberOfItems,
size: element.size?.label,
state: element.state,
location: element.location!.name,
location: element.location?.name,
tags: element.tags,
shipment: element.shipmentDetail?.shipment,
comment: element.comment,
Expand Down
Loading

0 comments on commit 7b9069a

Please sign in to comment.