Improved notifications view

This commit is contained in:
2018-02-28 23:26:06 +01:00
parent fceec3f193
commit 25c70eba0d
6 changed files with 38 additions and 11 deletions

View File

@ -8,13 +8,10 @@ export class NotificationManager {
let body = await response.text()
this.unseen = parseInt(body)
this.unseen = 2
this.render()
}
render() {
console.log("notification count", this.unseen)
let notificationIcon = document.getElementById("notification-icon")
let notificationCount = document.getElementById("notification-count")