mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 16:26:43 +00:00
Fix hass.io panel for older version (#5365)
* Fix hass.io panel for older version * Fix lint
This commit is contained in:
parent
f7ee712456
commit
ddb525f6cd
@ -93,7 +93,7 @@ class HassioAddonRepositoryEl extends LitElement {
|
||||
? "not_available"
|
||||
: ""}
|
||||
.iconImage=${atLeastVersion(
|
||||
this.hass.connection.haVersion,
|
||||
this.hass.config.version,
|
||||
0,
|
||||
105
|
||||
) && addon.icon
|
||||
|
@ -661,8 +661,7 @@ class HassioAddonInfo extends LitElement {
|
||||
|
||||
private get _computeCannotIngressSidebar(): boolean {
|
||||
return (
|
||||
!this.addon.ingress ||
|
||||
!atLeastVersion(this.hass.connection.haVersion, 0, 92)
|
||||
!this.addon.ingress || !atLeastVersion(this.hass.config.version, 0, 92)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ class HassioAddons extends LitElement {
|
||||
? "running"
|
||||
: "stopped"}
|
||||
.iconImage=${atLeastVersion(
|
||||
this.hass.connection.haVersion,
|
||||
this.hass.config.version,
|
||||
0,
|
||||
105
|
||||
) && addon.icon
|
||||
|
Loading…
x
Reference in New Issue
Block a user