« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/data')
-rw-r--r--src/data/things.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/things.js b/src/data/things.js
index a4ee2e96..6ed0aa47 100644
--- a/src/data/things.js
+++ b/src/data/things.js
@@ -1020,7 +1020,7 @@ Group.propertyDescriptors = {
         expose: {
             dependencies: ['groupCategoryData'],
             compute: ({ groupCategoryData, [Group.instance]: group }) => (
-                groupCategoryData?.filter(category => category.groups.includes(group)) ?? [])
+                groupCategoryData.find(category => category.groups.includes(group)) ?? null)
         }
     },
 };