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
parent adbfa0752a
commit b0a69468d2

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