fix(dashboard): improve inventory level location management (#13589)

**What**
- add InfiniteList on location selection for inventory level -> fixes issue with location pagination
- fix removal of location level for an inventory item
- refresh the levels table when locations are updated
- add search input for filtering locations

---

CLOSES CORE-1208
This commit is contained in:
Frane Polić
2025-09-24 18:00:45 +00:00
committed by GitHub
parent edf29b3bd2
commit 7af9e3224c
9 changed files with 193 additions and 152 deletions
@@ -241,6 +241,9 @@ export const useBatchInventoryItemLocationLevels = (
queryClient.invalidateQueries({
queryKey: inventoryItemLevelsQueryKeys.detail(inventoryItemId),
})
queryClient.invalidateQueries({
queryKey: inventoryItemLevelsQueryKeys.list({ inventoryItemId }),
})
options?.onSuccess?.(data, variables, context)
},
...options,