From 77ab26824754f4338553816d5803974554b1e45a Mon Sep 17 00:00:00 2001 From: TrueKuehli Date: Mon, 1 Oct 2018 15:15:01 +0200 Subject: Added notifications badges to notifications Shows the current amount of notifications --- WebInterface/NodeJSServer/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WebInterface/NodeJSServer/src/index.js') diff --git a/WebInterface/NodeJSServer/src/index.js b/WebInterface/NodeJSServer/src/index.js index 3ca0e39..35ea63e 100644 --- a/WebInterface/NodeJSServer/src/index.js +++ b/WebInterface/NodeJSServer/src/index.js @@ -7,7 +7,7 @@ let backdrop = new Backdrop('menu', 'front-layer', 'show-menu'); backdrop.register(); let notifications = new BannerController('notifications', - 'banner-info', 'dismiss-banner'); + 'banner-info', 'dismiss-banner', 'notification-amount'); notifications.register(); let client = new ServerClient('http://89.183.8.51:5000/chatHub', 'server-list', true); -- cgit v1.2.3-54-g00ecf