From a94621687429e177b1bd3c7bb23ce5afd08e8135 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 15 Aug 2024 13:09:02 -0300 Subject: data: Contribution.associatedContributions: prefix edits for wiki --- src/data/things/contribution.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/data') diff --git a/src/data/things/contribution.js b/src/data/things/contribution.js index 82ec1db3..2712af70 100644 --- a/src/data/things/contribution.js +++ b/src/data/things/contribution.js @@ -146,9 +146,9 @@ export class Contribution extends Thing { }) => continuation({ ['#likeContributionsFilter']: contributionAnnotations.map(mappingAnnotation => - (annotation === 'edits for wiki' - ? mappingAnnotation === annotation - : mappingAnnotation !== 'edits for wiki')), + (annotation?.startsWith(`edits for wiki`) + ? mappingAnnotation?.startsWith(`edits for wiki`) + : !mappingAnnotation?.startsWith(`edits for wiki`))), }), }, -- cgit 1.3.0-6-gf8a5