diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-09-06 15:22:58 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-09-06 15:22:58 -0300 |
commit | 2d7c536ee91a8f5bf8f16db1fc2d0a4d8bb4fc85 (patch) | |
tree | 21cb39f3e65cd058259f8f9e3e4be8834ea93b76 /src/data/things/group.js | |
parent | 137bd813980d77441a86303ac6c04b61d9ccb8da (diff) |
data: dynamicThingsFromReferenceList -> resolvedReferenceList
Diffstat (limited to 'src/data/things/group.js')
-rw-r--r-- | src/data/things/group.js | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/data/things/group.js b/src/data/things/group.js index f552b8f3..d04fcf56 100644 --- a/src/data/things/group.js +++ b/src/data/things/group.js @@ -26,7 +26,11 @@ export class Group extends Thing { // Expose only - featuredAlbums: Thing.common.dynamicThingsFromReferenceList('featuredAlbumsByRef', 'albumData', find.album), + featuredAlbums: Thing.common.resolvedReferenceList({ + list: 'featuredAlbumsByRef', + data: 'albumData', + find: find.album, + }), descriptionShort: { flags: {expose: true}, @@ -88,10 +92,10 @@ export class GroupCategory extends Thing { // Expose only - groups: Thing.common.dynamicThingsFromReferenceList( - 'groupsByRef', - 'groupData', - find.group - ), + groups: Thing.common.resolvedReferenceList({ + list: 'groupsByRef', + data: 'groupData', + find: find.group, + }), }); } |