Detect backend support for announcements

This commit is contained in:
tusooa 2022-11-24 18:39:42 -05:00
commit d74d5a8ce2
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
6 changed files with 26 additions and 3 deletions

View file

@ -76,6 +76,7 @@ export const ROOT_ITEMS = {
route: 'announcements',
icon: 'bullhorn',
label: 'nav.announcements',
badgeGetter: 'unreadAnnouncementCount'
badgeGetter: 'unreadAnnouncementCount',
criteria: ['announcements']
}
}