mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
refactor
This commit is contained in:
parent
791da9b322
commit
753199febb
@ -141,13 +141,13 @@ function showMessage(message, options={}) {
|
||||
}
|
||||
}
|
||||
|
||||
function updateNotificationIndicator(counter) {
|
||||
if (counter == 0) {
|
||||
function updateNotificationIndicator(count) {
|
||||
if (count == 0) {
|
||||
$("#notification-alert").addClass("d-none");
|
||||
} else {
|
||||
$("#notification-alert").removeClass("d-none");
|
||||
}
|
||||
$("#notification-counter").html(counter);
|
||||
$("#notification-counter").html(count);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user