bnstooltips 1.16.0 → 1.16.1
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 +2 -2
- package/build/index.es.js.map +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -8829,10 +8829,10 @@ function EffectTooltip(_a) {
|
|
|
8829
8829
|
var data = _a.data, _b = _a.debug, debug = _b === void 0 ? false : _b;
|
|
8830
8830
|
var effect = data;
|
|
8831
8831
|
var tooltipBaseProps = {
|
|
8832
|
-
title: effect.Name,
|
|
8832
|
+
title: effect.Name != null && effect.Name != "" ? effect.Name : "#noname",
|
|
8833
8833
|
id: effect.ID.toString(),
|
|
8834
8834
|
grade: 4,
|
|
8835
|
-
icon: BuildIconPath(effect.IconPath, effect.IconIndex - 1),
|
|
8835
|
+
icon: effect.IconPath != null && effect.IconPath != "" ? BuildIconPath(effect.IconPath, effect.IconIndex - 1) : "",
|
|
8836
8836
|
subtitle: effect.SubTableDef,
|
|
8837
8837
|
mainInfos: [],
|
|
8838
8838
|
subInfoGroups: []
|