add Akkoma compatibility (tested on IceShrimp)

This commit is contained in:
Henry Jameson 2025-06-16 14:57:34 +03:00
commit f36f11045e
13 changed files with 28 additions and 12 deletions

View file

@ -59,7 +59,7 @@ const ModerationTools = {
return this.tagsSet.has(tagName)
},
privileged (privilege) {
return this.$store.state.users.currentUser.privileges.includes(privilege)
return this.$store.state.users.currentUser.privileges?.includes(privilege)
},
toggleTag (tag) {
const store = this.$store