fix(webui): being unable to add Kuva (#292)
Co-authored-by: Sainan <Sainan@users.noreply.github.com>
This commit is contained in:
parent
5a083f5b13
commit
b1f92c854e
@ -102,7 +102,10 @@ window.itemListPromise = new Promise(resolve => {
|
|||||||
items.forEach(item => {
|
items.forEach(item => {
|
||||||
if (item.uniqueName in data.badItems) {
|
if (item.uniqueName in data.badItems) {
|
||||||
item.name += " (Imposter)";
|
item.name += " (Imposter)";
|
||||||
} else if (item.uniqueName.substr(0, 18) != "/Lotus/Types/Game/") {
|
} else if (
|
||||||
|
item.uniqueName.substr(0, 18) != "/Lotus/Types/Game/" &&
|
||||||
|
item.uniqueName.substr(0, 18) != "/Lotus/StoreItems/"
|
||||||
|
) {
|
||||||
const option = document.createElement("option");
|
const option = document.createElement("option");
|
||||||
option.setAttribute("data-key", item.uniqueName);
|
option.setAttribute("data-key", item.uniqueName);
|
||||||
option.value = item.name;
|
option.value = item.name;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user