diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-06-12 13:30:46 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-06-18 22:56:08 -0300 |
commit | efbe6ce31006cdb76e5b1c2b4129d83f26f4ae5b (patch) | |
tree | 2427a10d2af3cd9be72b585558f4d5fa84c2220d /src | |
parent | de46d31a944a6e291c7efd6fee754cf60ae3f0e5 (diff) |
content: generateTrackListDividedByGroups: blank if no tracks
Diffstat (limited to 'src')
-rw-r--r-- | src/content/dependencies/generateTrackListDividedByGroups.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/generateTrackListDividedByGroups.js b/src/content/dependencies/generateTrackListDividedByGroups.js index 327865f0..21dc9ac1 100644 --- a/src/content/dependencies/generateTrackListDividedByGroups.js +++ b/src/content/dependencies/generateTrackListDividedByGroups.js @@ -80,7 +80,7 @@ export default { generate: (data, relations, slots, {html, language}) => relations.flatList ?? - html.tag('dl', [ + html.tag('dl', {[html.onlyIfContent]: true}, [ stitchArrays({ groupName: data.groupNames, groupLink: relations.groupLinks, |