Don't show new review data when not looking at last 24 hours

This commit is contained in:
Nicolas Mowen 2024-02-27 15:58:00 -07:00
parent 2405c00c1b
commit 656dcc74be

View File

@ -234,12 +234,12 @@ export default function EventView({
ref={contentRef}
className="flex flex-1 flex-wrap content-start gap-2 overflow-y-auto no-scrollbar"
>
<NewReviewData
{filter?.before == undefined && (<NewReviewData
className="absolute w-full z-30"
contentRef={contentRef}
severity={severity}
pullLatestData={pullLatestData}
/>
/>)}
{reachedEnd && currentItems == null && (
<div className="size-full flex flex-col justify-center items-center">