Oh right, use the series name in the message
This commit is contained in:
parent
a4c3c31279
commit
667f562a88
1 changed files with 5 additions and 4 deletions
|
@ -304,16 +304,17 @@ function getSearchNCStylesMessage(query, altStyles) {
|
|||
);
|
||||
}
|
||||
|
||||
// NOTE: This won't work on multi-word series names, of which there are
|
||||
// currently none.
|
||||
// NOTE: This won't work on multi-word series main names, of which there
|
||||
// are currently none. (Some *series names* like Prismatics are
|
||||
// multi-word, but their *main* name is not.)
|
||||
const seriesWord = seriesMainNames.find((n) =>
|
||||
queryWords.includes(n.toLowerCase()),
|
||||
);
|
||||
if (seriesWord != null) {
|
||||
return (
|
||||
<>
|
||||
If you're looking for NC Styles, check the emotion picker below the pet
|
||||
preview!
|
||||
If you're looking for {seriesWord} NC Styles, check the emotion picker
|
||||
below the pet preview!
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue