Hide account list in sensitive collections (#38081)

This commit is contained in:
diondiondion authored and GitHub committed 2026-03-05 15:43:57 +00:00
1 parent 0f37901955
commit 3557be5d4d
9 files changed
+267 -62

No files matched your search

@@ -36,7 +36,7 @@ export const ItemList = forwardRef<
emptyMessage?: React.ReactNode;
}
>(({ isLoading, emptyMessage, className, children, ...otherProps }, ref) => {
if (Children.count(children) === 0 && emptyMessage) {
if (!isLoading && Children.count(children) === 0 && emptyMessage) {
return <div className='empty-column-indicator'>{emptyMessage}</div>;
}