« get me outta code hell

new All Sheet Music listing - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-03-03 10:11:44 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-03-03 10:11:44 -0400
commit64990187b7a35b3c1db8e169f83591b557bb9121 (patch)
tree9a883ae4aff13e889ccab88d179e752eae40f9c3 /src/util
parente1db565e4059a2e26e2c0e56a6f3f3ae738ea2b7 (diff)
new All Sheet Music listing
Diffstat (limited to 'src/util')
-rw-r--r--src/util/link.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/link.js b/src/util/link.js
index e692255a..62106345 100644
--- a/src/util/link.js
+++ b/src/util/link.js
@@ -142,15 +142,15 @@ const link = {
         'media.albumAdditionalFile',
         fakeFileObject.album.directory,
         fakeFileObject.name),
-    {color: false}
-  ),
-  albumAdditionalFile: ({file, album}, {to}) =>
+    {color: false}),
+
+  albumAdditionalFile: ({file, album}, {to, ...opts}) =>
     link._albumAdditionalFileHelper(
       {
         name: file,
         album,
       },
-      {to}),
+      {to, ...opts}),
 
   media: linkPathname('media.path', {color: false}),
   root: linkPathname('shared.path', {color: false}),