« get me outta code hell

content: fix albums without wallpapers. oh my god - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
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
commit5dd1ffc055a3656d8f3fec3c8ffe4a2b1fd59237 (patch)
tree202968e6a626b2e3380ced6e14daf191e298379a /src
parentb7b941a9f267925cfbc699648a07ee6f7c6f1cf1 (diff)
content: fix albums without wallpapers. oh my god
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateAlbumWallpaperStyleTag.js4
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,