Skip to content

Commit

Permalink
Discovered integration: configure -> add (#22387)
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob authored Oct 15, 2024
1 parent c098858 commit a32dee7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/panels/config/integrations/ha-config-flow-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) &&
Expand Down
4 changes: 1 addition & 3 deletions src/panels/config/integrations/ha-config-integration-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>`
)}
Expand Down

0 comments on commit a32dee7

Please sign in to comment.