fix(webui): use excludeFromCodex to detect arcane imposters (#2761)
Closes #2760 Reviewed-on: #2761 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
parent
703e9007b0
commit
253ae09f24
@ -313,7 +313,7 @@ const getItemListsController: RequestHandler = (req, response) => {
|
||||
uniqueName,
|
||||
name: getString(arcane.name, lang)
|
||||
};
|
||||
if (arcane.isFrivolous) {
|
||||
if (arcane.excludeFromCodex) {
|
||||
mod.badReason = "frivolous";
|
||||
}
|
||||
res.mods.push(mod);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user