From 5b16090a206db99a266fcc006921782b37f8d1a0 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 11 Jan 2025 13:30:05 -0400 Subject: data: general withReverse{*}List logic tidying --- src/data/composite/wiki-data/withReverseReferenceList.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/data/composite/wiki-data/withReverseReferenceList.js') diff --git a/src/data/composite/wiki-data/withReverseReferenceList.js b/src/data/composite/wiki-data/withReverseReferenceList.js index 41d2ff20..c62408cf 100644 --- a/src/data/composite/wiki-data/withReverseReferenceList.js +++ b/src/data/composite/wiki-data/withReverseReferenceList.js @@ -14,13 +14,6 @@ export default withReverseList_template({ outputName: '#reverseReferenceList', customCompositionSteps: () => [ - withPropertyFromList({ - list: input('data'), - property: input('list'), - }).outputs({ - '#values': '#referencedThings', - }), - { dependencies: [input('data')], compute: (continuation, { @@ -30,5 +23,12 @@ export default withReverseList_template({ data, }), }, + + withPropertyFromList({ + list: '#referencingThings', + property: input('list'), + }).outputs({ + '#values': '#referencedThings', + }), ], }); -- cgit 1.3.0-6-gf8a5