mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Discovered integration: configure -> add (#22387)
This commit is contained in:
parent
c098858b73
commit
a32dee7071
@ -44,9 +44,9 @@ export class HaConfigFlowCard extends LitElement {
|
|||||||
unelevated
|
unelevated
|
||||||
@click=${this._continueFlow}
|
@click=${this._continueFlow}
|
||||||
.label=${this.hass.localize(
|
.label=${this.hass.localize(
|
||||||
`ui.panel.config.integrations.${
|
attention
|
||||||
attention ? "reconfigure" : "configure"
|
? "ui.panel.config.integrations.reconfigure"
|
||||||
}`
|
: "ui.common.add"
|
||||||
)}
|
)}
|
||||||
></ha-button>
|
></ha-button>
|
||||||
${DISCOVERY_SOURCES.includes(this.flow.context.source) &&
|
${DISCOVERY_SOURCES.includes(this.flow.context.source) &&
|
||||||
|
@ -484,9 +484,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
|
|||||||
unelevated
|
unelevated
|
||||||
.flow=${flow}
|
.flow=${flow}
|
||||||
@click=${this._continueFlow}
|
@click=${this._continueFlow}
|
||||||
.label=${this.hass.localize(
|
.label=${this.hass.localize("ui.common.add")}
|
||||||
"ui.panel.config.integrations.configure"
|
|
||||||
)}
|
|
||||||
></ha-button>
|
></ha-button>
|
||||||
</ha-md-list-item>`
|
</ha-md-list-item>`
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user