diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2026-05-28 14:46:47 -0300 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2026-05-28 14:46:47 -0300 |
| commit | 5dd1ffc055a3656d8f3fec3c8ffe4a2b1fd59237 (patch) | |
| tree | 202968e6a626b2e3380ced6e14daf191e298379a /src | |
| parent | b7b941a9f267925cfbc699648a07ee6f7c6f1cf1 (diff) | |
content: fix albums without wallpapers. oh my god
Diffstat (limited to 'src')
| -rw-r--r-- | src/content/dependencies/generateAlbumWallpaperStyleTag.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/dependencies/generateAlbumWallpaperStyleTag.js b/src/content/dependencies/generateAlbumWallpaperStyleTag.js index f4044606..4c8a2e59 100644 --- a/src/content/dependencies/generateAlbumWallpaperStyleTag.js +++ b/src/content/dependencies/generateAlbumWallpaperStyleTag.js @@ -11,7 +11,9 @@ export default { album.wallpaperBrightness, singleWallpaperPath: - album.wallpaperArtwork.path, + (album.wallpaperArtwork + ? album.wallpaperArtwork.path + : null), singleWallpaperStyle: album.wallpaperStyle, |