cleaned up, refactored and implemented new <ModerationTools>
This commit is contained in:
parent
3443ddddbb
commit
e56ea2dbeb
23 changed files with 1124 additions and 975 deletions
|
|
@ -280,7 +280,7 @@ export default {
|
|||
},
|
||||
},
|
||||
visibleRole() {
|
||||
if (!this.newShowRole) {
|
||||
if (!this.user.show_role && !this.user.adminData) {
|
||||
return
|
||||
}
|
||||
const rights = this.user.rights
|
||||
|
|
|
|||
|
|
@ -291,8 +291,7 @@
|
|||
</button>
|
||||
<ModerationTools
|
||||
v-if="showModerationMenu"
|
||||
class="moderation-menu"
|
||||
:user="user"
|
||||
:users="[user]"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue