fix(webui): unable to add relics
All checks were successful
Build / build (20) (push) Successful in 42s
Build / build (22) (push) Successful in 1m5s
Build / build (18) (push) Successful in 1m3s
Build / build (18) (pull_request) Successful in 42s
Build / build (20) (pull_request) Successful in 1m6s
Build / build (22) (pull_request) Successful in 1m1s
All checks were successful
Build / build (20) (push) Successful in 42s
Build / build (22) (push) Successful in 1m5s
Build / build (18) (push) Successful in 1m3s
Build / build (18) (pull_request) Successful in 42s
Build / build (20) (pull_request) Successful in 1m6s
Build / build (22) (pull_request) Successful in 1m1s
This commit is contained in:
parent
6f3f1fe5b9
commit
21d93cae2f
@ -192,14 +192,16 @@ const getItemListsController: RequestHandler = (req, response) => {
|
||||
});
|
||||
}
|
||||
for (const [uniqueName, arcane] of Object.entries(ExportArcanes)) {
|
||||
const mod: ListedItem = {
|
||||
uniqueName,
|
||||
name: getString(arcane.name, lang)
|
||||
};
|
||||
if (arcane.isFrivolous) {
|
||||
mod.badReason = "frivolous";
|
||||
if (uniqueName.substring(0, 18) != "/Lotus/Types/Game/") {
|
||||
const mod: ListedItem = {
|
||||
uniqueName,
|
||||
name: getString(arcane.name, lang)
|
||||
};
|
||||
if (arcane.isFrivolous) {
|
||||
mod.badReason = "frivolous";
|
||||
}
|
||||
res.mods.push(mod);
|
||||
}
|
||||
res.mods.push(mod);
|
||||
}
|
||||
for (const [uniqueName, syndicate] of Object.entries(ExportSyndicates)) {
|
||||
res.Syndicates.push({
|
||||
|
@ -230,7 +230,7 @@ function fetchItemList() {
|
||||
if (type == "Syndicates" && item.uniqueName.startsWith("RadioLegion")) {
|
||||
item.name += " (" + item.uniqueName + ")";
|
||||
}
|
||||
if (item.uniqueName.substr(0, 18) != "/Lotus/Types/Game/" && item.badReason != "notraw") {
|
||||
if (item.badReason != "notraw") {
|
||||
const option = document.createElement("option");
|
||||
option.setAttribute("data-key", item.uniqueName);
|
||||
option.value = item.name;
|
||||
|
Loading…
x
Reference in New Issue
Block a user