diff options
Diffstat (limited to 'src/data/things')
-rw-r--r-- | src/data/things/flash.js | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/data/things/flash.js b/src/data/things/flash.js index 81de3272..54259f95 100644 --- a/src/data/things/flash.js +++ b/src/data/things/flash.js @@ -105,16 +105,10 @@ export class Flash extends Thing { // Expose only - act: { - flags: {expose: true}, - - expose: { - dependencies: ['this', 'flashActData'], - - compute: ({this: flash, flashActData}) => - flashActData.find((act) => act.flashes.includes(flash)) ?? null, - }, - }, + act: [ + withFlashAct(), + exposeDependency({dependency: '#flashAct'}), + ], }); static [Thing.getSerializeDescriptors] = ({ |