rearrange notification visibility page a bit.

This commit is contained in:
Henry Jameson 2023-11-19 16:12:43 +02:00
commit fd3ad106be
5 changed files with 139 additions and 26 deletions

View file

@ -16,6 +16,10 @@ const NotificationsTab = {
user () {
return this.$store.state.users.currentUser
},
canReceiveReports () {
if (!this.user) { return false }
return this.user.privileges.includes('reports_manage_reports')
},
...SharedComputedObject()
},
methods: {