mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 12:37:51 +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
|
width: actionWidth
|
||||||
}
|
}
|
||||||
TableViewColumn {
|
TableViewColumn {
|
||||||
|
visible: Users.canKick;
|
||||||
role: "mute";
|
role: "mute";
|
||||||
title: "Mute";
|
title: "Mute";
|
||||||
width: actionWidth
|
width: actionWidth
|
||||||
}
|
}
|
||||||
TableViewColumn {
|
TableViewColumn {
|
||||||
|
visible: Users.canKick;
|
||||||
role: "kick";
|
role: "kick";
|
||||||
title: "Ban"
|
title: "Ban"
|
||||||
width: actionWidth
|
width: actionWidth
|
||||||
|
|
Loading…
Reference in a new issue