Create comonent for collapsing menu entries

This commit is contained in:
Pixeldrain-Server committed 2026-02-12 19:42:23 +01:00
1 parent 6a19b5bc18
commit ec1c8b0f5b
7 files changed
+192 -125

No files matched your search

+2 -1
View File
@@ -40,7 +40,8 @@ export const update = async () => {
siblings = await nav.get_siblings()
for(const sib of siblings) {
if (sib.name === "cover.jpg") {
const lower = sib.name.toLowerCase()
if (lower === "cover.jpg" || lower === "cover.png" || lower === "cover.webp") {
console.debug("Found album cover image", sib)
background_div.style.backgroundImage = `url("/api/filesystem/${sib.path}")`
break