pl-fe: Fix placeholder display

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-09-29 13:26:39 +02:00
parent afdaa61a06
commit a5288b9ee5

View File

@ -185,7 +185,7 @@ const ScrollableList = React.forwardRef<Virtualizer<any, any>, IScrollableList &
position: 'relative',
}}
>
{!showLoading && data.length ? (
{(!showLoading || showPlaceholder) && data.length ? (
<>
{prepend}
{virtualItems.map((item) => (