From b76fdc3b5ef0ce800c78014bfb879a5acc0329a9 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 5 May 2024 13:14:27 -0300 Subject: client: show results from generic search --- src/util/search-spec.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/util') 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', ], }, -- cgit 1.3.0-6-gf8a5