Skip to content

Commit

Permalink
Don't show NM before 115 (#6768)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Sep 2, 2020
1 parent 4156a4e commit c7f8fe1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hassio/src/system/hassio-host-info.ts
Expand Up @@ -14,6 +14,7 @@ import {
TemplateResult,
} from "lit-element";
import memoizeOne from "memoize-one";
import { atLeastVersion } from "../../../src/common/config/version";
import "../../../src/components/ha-button-menu";
import "../../../src/components/ha-card";
import "../../../src/components/ha-settings-row";
Expand Down Expand Up @@ -79,7 +80,8 @@ class HassioHostInfo extends LitElement {
</mwc-button>
</ha-settings-row>`
: ""}
${this.hostInfo.features.includes("network")
${this.hostInfo.features.includes("network") &&
atLeastVersion(this.hass.config.version, 0, 115)
? html` <ha-settings-row>
<span slot="heading">
IP address
Expand Down

0 comments on commit c7f8fe1

Please sign in to comment.