diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-03-21 23:28:38 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-03-21 23:34:23 -0300 |
commit | ec0dd58271eabd0dd9fa12fbf51f5b46b8ceb014 (patch) | |
tree | a10b342ae97f0554eca9179734f27ceecf6e2f90 /src/page | |
parent | 7783afa2eeba6eb3b876d325cd83c41fb96b4792 (diff) |
data steps: album additional files list
This is WIP but seems to be working! Pretty big test of the new html.template system, which needed some extension here.
Diffstat (limited to 'src/page')
-rw-r--r-- | src/page/album.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/page/album.js b/src/page/album.js index eeb6dc7c..4ed4dfcb 100644 --- a/src/page/album.js +++ b/src/page/album.js @@ -695,27 +695,4 @@ export function generateAlbumChronologyLinks(album, currentTrack, { })), ]); } - -export function generateAlbumAdditionalFilesList(album, additionalFiles, { - fileSize = true, - - generateAdditionalFilesList, - getSizeOfAdditionalFile, - link, - urls, -}) { - return generateAdditionalFilesList(additionalFiles, { - getFileSize: - (fileSize - ? (file) => - // TODO: Kinda near the metal here... - getSizeOfAdditionalFile( - urls - .from('media.root') - .to('media.albumAdditionalFile', album.directory, file)) - : () => null), - linkFile: (file) => - link.albumAdditionalFile({album, file}), - }); -} */ |