fix navbar and guest user checks

previously guest users would cause a response 500 if a private album existed, meaning they couldn't see any albums
they also couldn't load media in any album due to requiring an access token
This commit is contained in:
wisplite
2025-11-23 02:58:03 -06:00
parent 8759783ebb
commit c7d478271d
6 changed files with 60 additions and 7 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ export default function Gallery() {
}, [currentAlbumID])
return (
<div className="flex flex-col items-center justify-start h-full w-full bg-[#141414]">
<div className="flex flex-col items-center justify-start min-h-screen w-full bg-[#141414]">
<NavBar path={pathList} />
<AlbumList currentAlbumName={currentAlbumID} />
<MediaList albumId={currentAlbumID} albumName={currentAlbumName} />