mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix empty hardware when fetching hardware info (#13738)
This commit is contained in:
parent
490d46396e
commit
321914d53a
@ -205,7 +205,7 @@ class HaConfigSystemNavigation extends LitElement {
|
||||
const hardwareInfo: HardwareInfo = await this.hass.callWS({
|
||||
type: "hardware/info",
|
||||
});
|
||||
this._boardName = hardwareInfo?.hardware?.[0].name;
|
||||
this._boardName = hardwareInfo?.hardware?.[0]?.name;
|
||||
} else if (isHassioLoaded) {
|
||||
const osData: HassioHassOSInfo = await fetchHassioHassOsInfo(this.hass);
|
||||
if (osData.board) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user