diff --git a/src/themes/blur/facet/index.inline.js b/src/themes/blur/facet/index.inline.js index 4245635d..35f34ed5 100644 --- a/src/themes/blur/facet/index.inline.js +++ b/src/themes/blur/facet/index.inline.js @@ -32,7 +32,7 @@ document.querySelector("db-browser")?.setAttribute("group", group); document.querySelector("#btn-new-deck")?.addEventListener("click", async () => { const state = await navigator.locks.query(); - const held = (state.held ?? []).map((l) => l.name); + const held = (state.held ?? []).flatMap((l) => l.name ? [l.name] : []); let nextGroup;