merge: upstream
This commit is contained in:
commit
8388b18df9
37 changed files with 1040 additions and 897 deletions
|
|
@ -20,6 +20,15 @@ export const navbarItemDef = reactive({
|
|||
icon: 'ph-bell ph-bold ph-lg',
|
||||
show: computed(() => $i != null),
|
||||
indicated: computed(() => $i != null && $i.hasUnreadNotification),
|
||||
indicateValue: computed(() => {
|
||||
if (!$i || $i.unreadNotificationsCount === 0) return '';
|
||||
|
||||
if ($i.unreadNotificationsCount > 99) {
|
||||
return '99+';
|
||||
} else {
|
||||
return $i.unreadNotificationsCount.toString();
|
||||
}
|
||||
}),
|
||||
to: '/my/notifications',
|
||||
},
|
||||
drive: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue