feat(webui): disambiguate gear and resource with the same name for add items #2127

Merged
Sainan merged 3 commits from webui-disambiguate into main 2025-06-07 02:17:27 -07:00
Showing only changes of commit 8783678033 - Show all commits

View File

@ -365,7 +365,7 @@ function fetchItemList() {
.appendChild(option);
}
} else if (item.badReason != "notraw") {
let ambiguous = (nameToItems[item.name].length > 1);
const ambiguous = (nameToItems[item.name].length > 1);
let canDisambiguate = true;
if (ambiguous) {
for (const i2 of nameToItems[item.name]) {