1
0
Fork 0
forked from srxl/akkoma-fe

Remove wrong rights check.

This commit is contained in:
Roger Braun 2016-12-05 13:14:40 +01:00
parent be5fe03972
commit d0e91abe5a

View file

@ -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,