mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-08 03:11:22 +00:00
refactor
This commit is contained in:
1 file changed
+3
-3
@@ -141,13 +141,13 @@ function showMessage(message, options={}) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateNotificationIndicator(counter) {
|
function updateNotificationIndicator(count) {
|
||||||
if (counter == 0) {
|
if (count == 0) {
|
||||||
$("#notification-alert").addClass("d-none");
|
$("#notification-alert").addClass("d-none");
|
||||||
} else {
|
} else {
|
||||||
$("#notification-alert").removeClass("d-none");
|
$("#notification-alert").removeClass("d-none");
|
||||||
}
|
}
|
||||||
$("#notification-counter").html(counter);
|
$("#notification-counter").html(count);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user