forked from AkkomaGang/akkoma-fe
Remove wrong rights check.
This commit is contained in:
parent
be5fe03972
commit
d0e91abe5a
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ const Status = {
|
||||||
return !!this.$store.state.users.currentUser
|
return !!this.$store.state.users.currentUser
|
||||||
},
|
},
|
||||||
deleted () { return this.statusoid.deleted },
|
deleted () { return this.statusoid.deleted },
|
||||||
canDelete () { return this.statusoid.user.rights.delete_others_notice || this.statusoid.user.id == this.$store.state.users.currentUser.id }
|
canDelete () { return this.statusoid.user.id === this.$store.state.users.currentUser.id }
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
Attachment,
|
Attachment,
|
||||||
|
|
Loading…
Reference in a new issue