« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/search-spec.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/search-spec.js b/src/util/search-spec.js
index e8bc7571..d8ae936e 100644
--- a/src/util/search-spec.js
+++ b/src/util/search-spec.js
@@ -42,6 +42,9 @@ export const searchSpec = {
       primaryName:
         thing.name,
 
+      color:
+        thing.color,
+
       additionalNames:
         (Object.hasOwn(thing, 'additionalNames')
           ? thing.additionalNames.map(entry => entry.name)
@@ -74,6 +77,7 @@ export const searchSpec = {
     store: [
       'primaryName',
       'artwork',
+      'color',
     ],
   },