Hi everyone,
I have a problem with a badge on navigation component.
When a notification is created or deleted, I want that the number of the badge change. The badge is located in the navigation component.
I tried this :
public updateNotifBadge(untreatedNotifTotal: number) { this._fuseNavigationService.updateNavigationItem(“notification”, {
badge: {
title: untreatedNotifTotal.toString()
}
});
}
The problem is the modification works but the badge doesn’t refresh.
Can you help me ?
PS: sorry for my english