diff --git a/client/src/pages/AssetRegistryPage.tsx b/client/src/pages/AssetRegistryPage.tsx index b33a2e48..6287fd25 100644 --- a/client/src/pages/AssetRegistryPage.tsx +++ b/client/src/pages/AssetRegistryPage.tsx @@ -570,6 +570,13 @@ export function AssetRegistryPage() { return items; }, [approvedPurchasesQuery.data?.items, currentAsset?.purchaseRequest]); + const categoryItems = categoriesQuery.data?.items ?? []; + const assetItems = assetsQuery.data?.items ?? []; + const selectAsset = (assetId: string) => { + setIsCreatingAsset(false); + setSelectedAssetId(assetId); + }; + return (
{resolveError(assetsQuery.error)}
) : null} {!assetsQuery.isLoading && !assetsQuery.isError ? ( -