mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 13:57:21 +00:00
Remove non fixable from repair dialog (#13292)
This commit is contained in:
parent
0769b14566
commit
a379d29a6c
@ -54,24 +54,16 @@ class DialogRepairsIssue extends LitElement {
|
||||
)}
|
||||
>
|
||||
<div>
|
||||
<ha-alert
|
||||
.alertType=${this._issue.severity === "error" ||
|
||||
this._issue.severity === "critical"
|
||||
? "error"
|
||||
: "warning"}
|
||||
.title=${this.hass.localize(
|
||||
`ui.panel.config.repairs.${this._issue.severity}`
|
||||
)}
|
||||
>${this.hass.localize(
|
||||
"ui.panel.config.repairs.dialog.alert_not_fixable"
|
||||
)}
|
||||
${this._issue.breaks_in_ha_version
|
||||
? this.hass.localize(
|
||||
"ui.panel.config.repairs.dialog.breaks_in_version",
|
||||
{ version: this._issue.breaks_in_ha_version }
|
||||
)
|
||||
: ""}
|
||||
</ha-alert>
|
||||
${this._issue.breaks_in_ha_version
|
||||
? html`
|
||||
<ha-alert alert-type="error">
|
||||
${this.hass.localize(
|
||||
"ui.panel.config.repairs.dialog.breaks_in_version",
|
||||
{ version: this._issue.breaks_in_ha_version }
|
||||
)}
|
||||
</ha-alert>
|
||||
`
|
||||
: ""}
|
||||
<ha-markdown
|
||||
allowsvg
|
||||
breaks
|
||||
|
@ -1246,8 +1246,7 @@
|
||||
"learn": "Learn more",
|
||||
"ignore": "Ignore",
|
||||
"unignore": "Unignore",
|
||||
"alert_not_fixable": "We cannot repair this issue for you.",
|
||||
"breaks_in_version": "This will break in version {version}. Please fix this issue before upgrading.",
|
||||
"breaks_in_version": "This will break in version {version}. Fix this issue before upgrading.",
|
||||
"ignored_in_version_short": "Ignored in version {version}",
|
||||
"ignored_in_version": "This issue was ignored in version {version}."
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user