mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 20:46:47 +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…
x
Reference in New Issue
Block a user