mirror of
https://github.com/netbox-community/netbox.git
synced 2026-02-04 06:16:23 -06:00
Fixes #17144: Avoid displaying duplicate pop-up messages
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -10,7 +10,9 @@ export function initMessages(): void {
|
|||||||
for (const element of elements) {
|
for (const element of elements) {
|
||||||
if (element !== null) {
|
if (element !== null) {
|
||||||
const toast = new Toast(element);
|
const toast = new Toast(element);
|
||||||
|
if (!toast.isShown()) {
|
||||||
toast.show();
|
toast.show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user