show collab added files

This commit is contained in:
Abhinav 2023-02-02 14:31:45 +05:30
parent 8eb7fff4df
commit 0240cb5cf8

View file

@ -179,7 +179,10 @@ const PhotoFrame = ({
return false;
}
if (isSharedFile(user, item) && !isSharedCollection) {
if (
isSharedFile(user, item) &&
activeCollection !== item.collectionID
) {
return false;
}
if (activeCollection === TRASH_SECTION && !item.isTrashed) {