fix asset count issue (#21896)

This commit is contained in:
Shrushti Polekar 2025-06-23 14:03:18 +05:30 committed by GitHub
parent 43863ae6f3
commit e2f35ff31b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -811,6 +811,12 @@ const AssetsTabs = forwardRef(
}
}, [isSummaryPanelOpen]);
useEffect(() => {
if (assetCount !== undefined) {
setTotalAssetCount(assetCount);
}
}, [assetCount]);
return (
<>
<div