show headers for non all section even if files count is zero

This commit is contained in:
Abhinav 2023-02-02 13:23:22 +05:30
parent 6d780f6b92
commit 16ff07f8e6

View file

@ -681,7 +681,10 @@ const PhotoFrame = ({
return ( return (
<> <>
{!isFirstLoad && files.length === 0 && !isInSearchMode ? ( {!isFirstLoad &&
files.length === 0 &&
!isInSearchMode &&
activeCollection === ALL_SECTION ? (
<EmptyScreen openUploader={openUploader} /> <EmptyScreen openUploader={openUploader} />
) : ( ) : (
<Container> <Container>