Add "No further notifications" text
This commit is contained in:
parent
625de43239
commit
23a79c98df
|
@ -329,8 +329,11 @@ function loadNotificationsAsync() {
|
|||
if (unread.length > 0) {
|
||||
$('#notificationCount').text(unread.length);
|
||||
}
|
||||
notificationOffset++;
|
||||
} else {
|
||||
$('#notificationMenu .list-group p.list-group-item').remove();
|
||||
$('#notificationMenu .list-group').append(`<p class="list-group-item text-muted">Keine neuen Benachrichtigungen</p>`)
|
||||
}
|
||||
notificationOffset++;
|
||||
}
|
||||
},
|
||||
error: () => {
|
||||
|
|
Reference in New Issue
Block a user