Don't show admin columns if you can't kick.

This commit is contained in:
howard-stearns 2016-12-13 15:16:18 -08:00 committed by Seth Alves
parent 5a97156151
commit 0e9b1b45f4

View file

@ -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