Add no-notifications indicator when list empty

This commit is contained in:
ClemDee
2019-06-27 11:37:13 +02:00
parent 0f372b2ed5
commit 19a3524ab5
2 changed files with 14 additions and 3 deletions

View File

@@ -65,7 +65,9 @@ define([
dismissAll = h("div.cp-app-notifications-dismissall.cp-clickable", { title: Messages.dismissAll || "Dismiss All" }, h("span.fa.fa-trash")),
]),
]),
notifsList = h("div.cp-app-notifications-panel-list"),
notifsList = h("div.cp-app-notifications-panel-list", [
h("div.cp-notification.no-notifications", Messages.notifications_empty),
]),
]);
$div.append(notifsPanel);