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