fix(webui): use excludeFromCodex to detect arcane imposters
All checks were successful
Build / build (pull_request) Successful in 1m15s
All checks were successful
Build / build (pull_request) Successful in 1m15s
This commit is contained in:
parent
1066b4a983
commit
33a133c78c
@ -313,7 +313,7 @@ const getItemListsController: RequestHandler = (req, response) => {
|
|||||||
uniqueName,
|
uniqueName,
|
||||||
name: getString(arcane.name, lang)
|
name: getString(arcane.name, lang)
|
||||||
};
|
};
|
||||||
if (arcane.isFrivolous) {
|
if (arcane.excludeFromCodex) {
|
||||||
mod.badReason = "frivolous";
|
mod.badReason = "frivolous";
|
||||||
}
|
}
|
||||||
res.mods.push(mod);
|
res.mods.push(mod);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user