1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-05-08 17:28:46 +01:00

Use error for protection mode alert (#10315)

This commit is contained in:
Joakim Sørensen
2021-10-19 18:37:22 +02:00
committed by GitHub
parent b3f8daa758
commit 21e1fef0fb
2 changed files with 2 additions and 2 deletions
@@ -181,7 +181,7 @@ class HassioAddonInfo extends LitElement {
${!this.addon.protected
? html`
<ha-alert
alert-type="warning"
alert-type="error"
.title=${this.supervisor.localize(
"addon.dashboard.protection_mode.title"
)}
+1 -1
View File
@@ -4027,7 +4027,7 @@
"rebuild": "rebuild",
"open_web_ui": "Open web UI",
"protection_mode": {
"title": "Warning: Protection mode is disabled!",
"title": "Protection mode is disabled!",
"content": "Protection mode on this add-on is disabled! This gives the add-on full access to the entire system, which adds security risks, and could damage your system when used incorrectly. Only disable the protection mode if you know, need AND trust the source of this add-on.",
"enable": "[%key:ui::common::enable%]"
},