We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff0c72c commit ca401b5Copy full SHA for ca401b5
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