diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-06-17 21:15:18 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-06-18 22:56:14 -0300 |
commit | 8dae3f05d0f54963bc08768970033062f5733ef2 (patch) | |
tree | c50c99f9590dac76806a95268d097bf54252a508 /src/data/composite/things/contribution/withContributionArtist.js | |
parent | 17987a50e7cbc03561bba87436ef5bbb15e98cee (diff) |
data: withContributionArtist: depend on 'artist' prop by default
Diffstat (limited to 'src/data/composite/things/contribution/withContributionArtist.js')
-rw-r--r-- | src/data/composite/things/contribution/withContributionArtist.js | 7 |
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'], |