forked from FoundKeyGang/FoundKey
Re-add in mentions and direct notes to menu
This commit is contained in:
parent
018aa6381d
commit
9e0936284c
1 changed files with 14 additions and 0 deletions
|
@ -107,6 +107,20 @@ export const menuDef = reactive({
|
||||||
os.popupMenu(items, ev.currentTarget ?? ev.target);
|
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: {
|
favorites: {
|
||||||
title: 'favorites',
|
title: 'favorites',
|
||||||
icon: 'fas fa-star',
|
icon: 'fas fa-star',
|
||||||
|
|
Loading…
Reference in a new issue