mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 21:26:40 +02:00
Don't show admin columns if you can't kick.
This commit is contained in:
parent
adbfa0752a
commit
b0a69468d2
1 changed files with 2 additions and 0 deletions
|
@ -139,11 +139,13 @@ Rectangle {
|
|||
width: actionWidth
|
||||
}
|
||||
TableViewColumn {
|
||||
visible: Users.canKick;
|
||||
role: "mute";
|
||||
title: "Mute";
|
||||
width: actionWidth
|
||||
}
|
||||
TableViewColumn {
|
||||
visible: Users.canKick;
|
||||
role: "kick";
|
||||
title: "Ban"
|
||||
width: actionWidth
|
||||
|
|
Loading…
Reference in a new issue