mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 11:43:50 +01:00
Fix to Sleeves UI not updating when set to workout value by API
This commit is contained in:
parent
687a2f8852
commit
4623bb3a0b
@ -561,7 +561,7 @@ function updateSleeveTaskSelector(sleeve: Sleeve, elems: ISleeveUIElems, allSlee
|
|||||||
elems.taskDetailsSelector.add(createOptionElement(gymSelectorOptions[i]));
|
elems.taskDetailsSelector.add(createOptionElement(gymSelectorOptions[i]));
|
||||||
|
|
||||||
// Set initial value
|
// Set initial value
|
||||||
if (sleeve.gymStatType === gymSelectorOptions[i]) {
|
if (sleeve.gymStatType === gymSelectorOptions[i].substring(6, 9).toLowerCase()) {
|
||||||
elems.taskDetailsSelector.selectedIndex = i;
|
elems.taskDetailsSelector.selectedIndex = i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user