« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/data/composite/things/contribution/withContributionArtist.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/data/composite/things/contribution/withContributionArtist.js b/src/data/composite/things/contribution/withContributionArtist.js
index 9e588936..5a611c1a 100644
--- a/src/data/composite/things/contribution/withContributionArtist.js
+++ b/src/data/composite/things/contribution/withContributionArtist.js
@@ -5,10 +5,13 @@ import {withPropertyFromObject} from '#composite/data';
 import {withResolvedReference} from '#composite/wiki-data';
 
 export default templateCompositeFrom({
-  annotation: `withOwnContributionArtist`,
+  annotation: `withContributionArtist`,
 
   inputs: {
-    ref: input({type: 'string'}),
+    ref: input({
+      type: 'string',
+      defaultDependency: 'artist',
+    }),
   },
 
   outputs: ['#artist'],