Fix logout button text color on confirmation dialog (#21595)

This commit is contained in:
Vaibhav Tank 2024-08-08 00:18:38 -07:00 committed by GitHub
parent f0f0aefca1
commit 35fed0b0e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -222,6 +222,7 @@ class HaProfileSectionGeneral extends LitElement {
text: this.hass.localize("ui.panel.profile.logout_text"),
confirmText: this.hass.localize("ui.panel.profile.logout"),
confirm: () => fireEvent(this, "hass-logout"),
destructive: true,
});
}