Implementation of level and color data types
This commit is contained in:
parent
a89b418350
commit
234125bc35
30 changed files with 664 additions and 113 deletions
1
hal-core/resources/web/js/hal_alert.js
vendored
1
hal-core/resources/web/js/hal_alert.js
vendored
|
|
@ -58,6 +58,7 @@ function updateAlerts() {
|
|||
.then(data => {
|
||||
data.forEach(alert => {
|
||||
var alertElement = $("#alert-id-" + alert.id);
|
||||
|
||||
if (alertElement.length <= 0) {
|
||||
alertElement = $(alertTemplate[alert.level]);
|
||||
$("#" + alertDivId).append(alertElement);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue