show headers for non all section even if files count is zero
This commit is contained in:
parent
6d780f6b92
commit
16ff07f8e6
|
@ -681,7 +681,10 @@ const PhotoFrame = ({
|
|||
|
||||
return (
|
||||
<>
|
||||
{!isFirstLoad && files.length === 0 && !isInSearchMode ? (
|
||||
{!isFirstLoad &&
|
||||
files.length === 0 &&
|
||||
!isInSearchMode &&
|
||||
activeCollection === ALL_SECTION ? (
|
||||
<EmptyScreen openUploader={openUploader} />
|
||||
) : (
|
||||
<Container>
|
||||
|
|
Loading…
Reference in a new issue