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,14 +44,9 @@ class HaConfigSystemNavigation extends LitElement {
>
<mwc-button
slot="toolbar-icon"
class="warning"
.label=${this.narrow
? this.hass.localize(
"ui.panel.config.system_dashboard.restart_homeassistant_short"
)
: this.hass.localize(
"ui.panel.config.system_dashboard.restart_homeassistant"
)}
.label=${this.hass.localize(
"ui.panel.config.system_dashboard.restart_homeassistant_short"
)}
@click=${this._restart}
></mwc-button>
<ha-config-section

View File

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