replaced skeleton with a dash
This commit is contained in:
parent
4f39e75f2d
commit
e4936b3868
1 changed files with 2 additions and 2 deletions
|
@ -132,7 +132,7 @@ const WarehouseList: React.FC<WarehouseListProps> = props => {
|
|||
className={classes.tableRow}
|
||||
hover={!!warehouse}
|
||||
onClick={warehouse ? onRowClick(warehouse.id) : undefined}
|
||||
key={warehouse ? warehouse.id : "skeleton"}
|
||||
key={warehouse ? warehouse.id : "n/a"}
|
||||
data-test="warehouseEntry"
|
||||
data-testid={warehouse?.name.toLowerCase().replace(" ", "")}
|
||||
>
|
||||
|
@ -142,7 +142,7 @@ const WarehouseList: React.FC<WarehouseListProps> = props => {
|
|||
<TableCell className={classes.colZones} data-test="zones">
|
||||
{mapEdgesToItems(warehouse?.shippingZones)
|
||||
.map(({ name }) => name)
|
||||
.join(", ") || <Skeleton />}
|
||||
.join(", ") || "-"}
|
||||
</TableCell>
|
||||
<TableCell className={classes.colActions}>
|
||||
<div className={classes.actions}>
|
||||
|
|
Loading…
Reference in a new issue