Skip to content
Snippets Groups Projects
Commit d0e91abe authored by lain's avatar lain
Browse files

Remove wrong rights check.

parent be5fe039
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment