« get me outta code hell

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:
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}),