Skip to content

Commit f6e3d29

Browse files
authored
Merge branch 'master' into fix/restore-stall-cache
2 parents 7a9e716 + ca401b5 commit f6e3d29

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/lib/components/inventory/selected_item_info.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,12 @@ export class SelectedItemInfo extends FloatElement {
156156
}
157157

158158
renderFloatBar(): TemplateResult<1> {
159-
if (!this.itemInfo || !this.itemInfo.floatvalue) {
159+
if (
160+
!this.itemInfo ||
161+
!this.itemInfo.floatvalue ||
162+
this.itemInfo.min === undefined ||
163+
this.itemInfo.max === undefined
164+
) {
160165
return html``;
161166
}
162167

0 commit comments

Comments
 (0)