We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7a9e716 + ca401b5 commit f6e3d29Copy full SHA for f6e3d29
1 file changed
src/lib/components/inventory/selected_item_info.ts
@@ -156,7 +156,12 @@ export class SelectedItemInfo extends FloatElement {
156
}
157
158
renderFloatBar(): TemplateResult<1> {
159
- if (!this.itemInfo || !this.itemInfo.floatvalue) {
+ if (
160
+ !this.itemInfo ||
161
+ !this.itemInfo.floatvalue ||
162
+ this.itemInfo.min === undefined ||
163
+ this.itemInfo.max === undefined
164
+ ) {
165
return html``;
166
167
0 commit comments