mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 19:56:42 +00:00
Fix flickering toast (#20287)
This commit is contained in:
parent
e8dc61ec36
commit
f13dcb4139
@ -27,7 +27,7 @@ class NotificationManager extends LitElement {
|
||||
@query("ha-toast") private _toast!: HaToast | undefined;
|
||||
|
||||
public async showDialog(parameters: ShowToastParams) {
|
||||
if (this._parameters) {
|
||||
if (this._parameters && this._parameters.message !== parameters.message) {
|
||||
this._parameters = undefined;
|
||||
await this.updateComplete;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user