Remove wrong rights check.

This commit is contained in:
Roger Braun 2016-12-05 13:14:40 +01:00
parent be5fe03972
commit d0e91abe5a
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ const Status = {
return !!this.$store.state.users.currentUser
},
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: {
Attachment,