feat(webui): disambiguate gear and resource with the same name for add items #2127
@ -365,7 +365,7 @@ function fetchItemList() {
|
|||||||
.appendChild(option);
|
.appendChild(option);
|
||||||
}
|
}
|
||||||
} else if (item.badReason != "notraw") {
|
} else if (item.badReason != "notraw") {
|
||||||
let ambiguous = (nameToItems[item.name].length > 1);
|
const ambiguous = (nameToItems[item.name].length > 1);
|
||||||
let canDisambiguate = true;
|
let canDisambiguate = true;
|
||||||
if (ambiguous) {
|
if (ambiguous) {
|
||||||
for (const i2 of nameToItems[item.name]) {
|
for (const i2 of nameToItems[item.name]) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user