mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +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
|
||||
@click=${this._continueFlow}
|
||||
.label=${this.hass.localize(
|
||||
`ui.panel.config.integrations.${
|
||||
attention ? "reconfigure" : "configure"
|
||||
}`
|
||||
attention
|
||||
? "ui.panel.config.integrations.reconfigure"
|
||||
: "ui.common.add"
|
||||
)}
|
||||
></ha-button>
|
||||
${DISCOVERY_SOURCES.includes(this.flow.context.source) &&
|
||||
|
@ -484,9 +484,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
|
||||
unelevated
|
||||
.flow=${flow}
|
||||
@click=${this._continueFlow}
|
||||
.label=${this.hass.localize(
|
||||
"ui.panel.config.integrations.configure"
|
||||
)}
|
||||
.label=${this.hass.localize("ui.common.add")}
|
||||
></ha-button>
|
||||
</ha-md-list-item>`
|
||||
)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user