Fixes currentUser rights

このコミットが含まれているのは:
Jiayi Zheng 2016-12-19 17:03:02 +01:00
コミット d98f730921
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -10,7 +10,7 @@ const DeleteButton = {
},
computed: {
currentUser () { return this.$store.state.users.currentUser },
canDelete () { return this.currentUser.delete_others_notice || this.status.user.id == this.currentUser.id }
canDelete () { return this.currentUser.rights.delete_others_notice || this.status.user.id == this.currentUser.id }
}
}