fix(webui): use excludeFromCodex to detect arcane imposters (#2761)
Some checks failed
Build Docker image / docker-arm64 (push) Waiting to run
Build / build (push) Has been cancelled
Build Docker image / docker-amd64 (push) Has been cancelled

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:
Sainan 2025-09-08 20:43:15 -07:00 committed by Sainan
parent 703e9007b0
commit 253ae09f24

View File

@ -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);