Fixes #17144: Avoid displaying duplicate pop-up messages

This commit is contained in:
Jeremy Stretch 2024-08-13 14:14:51 -04:00
parent 6feb8bf0e3
commit d5c1a5acda
3 changed files with 3 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -10,7 +10,9 @@ export function initMessages(): void {
for (const element of elements) {
if (element !== null) {
const toast = new Toast(element);
toast.show();
if (!toast.isShown()) {
toast.show();
}
}
}
}