« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/data/things/contribution.js6
1 files changed, 3 insertions, 3 deletions
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`))),
         }),
       },