feat(admin-ui, medusa): Improve fulfillment validation (#3541)
* validate that an inventory level exists as well * improve create-fulfillment handling in admin * pass along location id rather than inventory level id * add changeset * remove dependency
This commit is contained in:
@@ -76,7 +76,7 @@ const EditVariantInventoryModal = ({ onClose, product, variant }: Props) => {
|
||||
deleteLocations.map(async (location: InventoryLevelDTO) => {
|
||||
await client.admin.inventoryItems.deleteLocationLevel(
|
||||
inventoryItemId!,
|
||||
location.id
|
||||
location.location_id
|
||||
)
|
||||
})
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user