fix: playbacks && profile picture

This commit is contained in:
2025-11-03 10:06:32 +01:00
parent ab5aa1fd1a
commit 3d37bdba97
2 changed files with 61 additions and 4 deletions
+6 -1
View File
@@ -321,7 +321,12 @@ const Profile = () => {
});
const displayedProjects = isSelf ? selfProjects : otherUserProjects;
const displayedPlaybacks = isSelf ? selfPlaybacks : [];
const displayedPlaybacksSource = isSelf
? selfPlaybacks
: otherUserProjects;
const displayedPlaybacks = Array.isArray(displayedPlaybacksSource)
? displayedPlaybacksSource.filter((project) => project?.playbackUrl)
: [];
return (
<Page