mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Fixes #17144: Avoid displaying duplicate pop-up messages
This commit is contained in:
parent
6feb8bf0e3
commit
d5c1a5acda
BIN
netbox/project-static/dist/netbox.js
vendored
BIN
netbox/project-static/dist/netbox.js
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox.js.map
vendored
BIN
netbox/project-static/dist/netbox.js.map
vendored
Binary file not shown.
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user