Moderator system

Closes #2357
This commit is contained in:
syuilo
2018-11-15 04:15:42 +09:00
parent dc9a19b9c7
commit 56d571c0f0
23 changed files with 191 additions and 17 deletions

View File

@@ -55,7 +55,7 @@ export default Vue.extend({
}
] : []
], [
this.note.userId == this.$store.state.i.id || this.$store.state.i.isAdmin ? [{
this.note.userId == this.$store.state.i.id || this.$store.state.i.isAdmin || this.$store.state.i.isModerator ? [{
icon: ['far', 'trash-alt'],
text: this.$t('delete'),
action: this.del