Restart Home ASsistant button - Make less red and less big (#12515)

This commit is contained in:
Zack Barett 2022-04-29 12:15:43 -05:00 committed by GitHub
parent c8b87b65bd
commit f52e8c3392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 9 deletions

View File

@ -44,13 +44,8 @@ class HaConfigSystemNavigation extends LitElement {
> >
<mwc-button <mwc-button
slot="toolbar-icon" slot="toolbar-icon"
class="warning" .label=${this.hass.localize(
.label=${this.narrow
? this.hass.localize(
"ui.panel.config.system_dashboard.restart_homeassistant_short" "ui.panel.config.system_dashboard.restart_homeassistant_short"
)
: this.hass.localize(
"ui.panel.config.system_dashboard.restart_homeassistant"
)} )}
@click=${this._restart} @click=${this._restart}
></mwc-button> ></mwc-button>

View File

@ -3172,7 +3172,6 @@
"system_dashboard": { "system_dashboard": {
"confirm_restart_text": "Restarting Home Assistant will stop all your active dashboards, automations and scripts.", "confirm_restart_text": "Restarting Home Assistant will stop all your active dashboards, automations and scripts.",
"confirm_restart_title": "Restart Home Assistant?", "confirm_restart_title": "Restart Home Assistant?",
"restart_homeassistant": "Restart Home Assistant",
"restart_homeassistant_short": "Restart", "restart_homeassistant_short": "Restart",
"restart_error": "Failed to restart Home Assistant" "restart_error": "Failed to restart Home Assistant"
} }