Add correct button label to "no_state" statistics fix dialog (#10628)

This commit is contained in:
Philip Allgaier 2021-11-17 19:22:34 +01:00 committed by GitHub
parent e9f0967578
commit 822590ec8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,6 +176,7 @@ class HaPanelDevStatistics extends LitElement {
it from your database.<br /><br />Do you want to permanently remove
the long term statistics of ${issue.data.statistic_id} from your
database?`,
confirmText: this.hass.localize("ui.common.remove"),
confirm: async () => {
await clearStatistics(this.hass, [issue.data.statistic_id]);
this._validateStatistics();