« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/track.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things/track.js')
-rw-r--r--src/data/things/track.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js
index 718eb07e..118e3db0 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -424,7 +424,7 @@ export class Track extends Thing {
     // property as null.
     inheritFromOriginalRelease: ({property: originalProperty, allowOverride = false}) =>
       Thing.composite.from(`Track.composite.inheritFromOriginalRelease`, [
-        Track.composite.withOriginalRelease({to: '#originalRelease'}),
+        Track.composite.withOriginalRelease(),
 
         {
           flags: {expose: true, compose: true},
@@ -474,8 +474,8 @@ export class Track extends Thing {
     // Just includes the original release of this track as a dependency, or
     // null, if it's not a rerelease. Note that this will early exit if the
     // original release is specified by reference and that reference doesn't
-    // resolve to anything.
-    withOriginalRelease: ({to: outputDependency = '#originalRelease'}) =>
+    // resolve to anything. Outputs to '#originalRelease' by default.
+    withOriginalRelease: ({to: outputDependency = '#originalRelease'} = {}) =>
       Thing.composite.from(`Track.composite.withOriginalRelease`, [
         Thing.composite.withResolvedReference({
           ref: 'originalReleaseTrackByRef',