diff options
| author | Roger Braun <roger@rogerbraun.net> | 2016-12-05 13:14:40 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2016-12-05 13:14:40 +0100 |
| commit | d0e91abe5a9f3e5e776fe29d892aa51a1c7a4773 (patch) | |
| tree | 9a7b0ee945c81d005b86808e16a9c5968249a4ab /src/components/status/status.js | |
| parent | be5fe03972879add14ce2ca6b37524b32adbf1b8 (diff) | |
Remove wrong rights check.
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 2 |
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, |
