bnstooltips 1.7.1 → 1.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.es.js +5 -2
- package/build/index.es.js.map +1 -1
- package/build/index.js +5 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -5898,8 +5898,11 @@ function ItemImproveTooltip(_a) {
|
|
|
5898
5898
|
costGroup.texts.push(React__default["default"].createElement("div", { className: "TooltipBase_flex ItemImproveTooltip_moneyContainer" },
|
|
5899
5899
|
React__default["default"].createElement("span", { className: "TooltipBase_grade-8" }, "This option has a chance to fail!")));
|
|
5900
5900
|
}
|
|
5901
|
-
if (upgradeOption.mainItemCost != null)
|
|
5902
|
-
|
|
5901
|
+
if (upgradeOption.mainItemCost != null) {
|
|
5902
|
+
var mainItems = [];
|
|
5903
|
+
mainItems.push(upgradeOption.mainItemCost);
|
|
5904
|
+
costGroup.texts.push(React__default["default"].createElement(DecomposeResults, { client: client, region: region, showUpgrade: false, items: mainItems }));
|
|
5905
|
+
}
|
|
5903
5906
|
if (upgradeOption.subItemCost != null && upgradeOption.subItemCost.length > 0) {
|
|
5904
5907
|
costGroup.texts.push(React__default["default"].createElement(DecomposeResults, { client: client, region: region, showUpgrade: false, items: upgradeOption.subItemCost }));
|
|
5905
5908
|
}
|