Archived
1
0

Add "No further notifications" text

This commit is contained in:
Marcel 2018-10-17 16:42:36 +02:00
parent 625de43239
commit 23a79c98df

View File

@ -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: () => {