aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2016-12-05 13:14:40 +0100
committerRoger Braun <roger@rogerbraun.net>2016-12-05 13:14:40 +0100
commitd0e91abe5a9f3e5e776fe29d892aa51a1c7a4773 (patch)
tree9a7b0ee945c81d005b86808e16a9c5968249a4ab
parentbe5fe03972879add14ce2ca6b37524b32adbf1b8 (diff)
Remove wrong rights check.
-rw-r--r--src/components/status/status.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 8b2561cf..3245d98b 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -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,