Re-add in mentions and direct notes to menu

This commit is contained in:
Norm 2022-09-03 14:29:55 -04:00
parent 018aa6381d
commit 9e0936284c
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE

View file

@ -107,6 +107,20 @@ export const menuDef = reactive({
os.popupMenu(items, ev.currentTarget ?? ev.target);
},
},
mentions: {
title: 'mentions',
icon: 'fas fa-at',
show: computed(() => $i != null),
indicated: computed(() => $i != null && $i.hasUnreadMentions),
to: '/my/notifications#mentions',
},
messages: {
title: 'directNotes',
icon: 'fas fa-envelope',
show: computed(() => $i != null),
indicated: computed(() => $i != null && $i.hasUnreadSpecifiedNotes),
to: '/my/notifications#directNotes',
},
favorites: {
title: 'favorites',
icon: 'fas fa-star',