add Akkoma compatibility (tested on IceShrimp)
This commit is contained in:
parent
60e5c3b042
commit
f36f11045e
13 changed files with 28 additions and 12 deletions
|
|
@ -134,7 +134,10 @@ export default {
|
|||
},
|
||||
showModerationMenu () {
|
||||
const privileges = this.loggedIn.privileges
|
||||
return this.loggedIn.role === 'admin' || privileges.includes('users_manage_activation_state') || privileges.includes('users_delete') || privileges.includes('users_manage_tags')
|
||||
return this.loggedIn.role === 'admin' ||
|
||||
privileges?.includes('users_manage_activation_state') ||
|
||||
privileges?.includes('users_delete')||
|
||||
privileges?.includes('users_manage_tags')
|
||||
},
|
||||
hasNote () {
|
||||
return this.relationship.note
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue