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