mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
system: weird spot in status update handling
This commit is contained in:
parent
b7ba53634b
commit
9900d91cd5
@ -217,11 +217,11 @@ class StatusBanner {
|
||||
if (subject.status == "OK")
|
||||
continue;
|
||||
|
||||
if (subject.isBanner && !this.bannerActive) {
|
||||
if (subject.isBanner) {
|
||||
if (!this.bannerActive) {
|
||||
$('.page-content-main > .container-fluid > .row').prepend($(`
|
||||
<div class="container-fluid">
|
||||
<div id="notification-banner" class="alert alert-info ${this.parseStatusBanner(subject.status)}"
|
||||
<div id="notification-banner" class="alert ${this.parseStatusBanner(subject.status)}"
|
||||
style="padding: 10px; text-align: center;">
|
||||
${subject.message}
|
||||
</div>
|
||||
@ -231,7 +231,7 @@ class StatusBanner {
|
||||
break;
|
||||
} else {
|
||||
$('#notification-banner').text(subject.message);
|
||||
$('#notification-banner').removeClass().addClass(`alert alert-info ${this.parseStatusBanner(subject.status)}`);
|
||||
$('#notification-banner').removeClass().addClass(`alert ${this.parseStatusBanner(subject.status)}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user