fix(communities): hide edit category menu for non-admins
Fixes: #2691. When not an admin, the menu for adding/removing/editing of channels inside of a category should not be visible.
This commit is contained in:
parent
395b10c4c0
commit
c495c1037a
|
@ -72,7 +72,7 @@ Column {
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusIconButton {
|
StatusIconButton {
|
||||||
visible: hhandler.hovered
|
visible: hhandler.hovered && chatsModel.communities.activeCommunity.admin
|
||||||
id: moreBtn
|
id: moreBtn
|
||||||
icon.name: "more"
|
icon.name: "more"
|
||||||
width: 20
|
width: 20
|
||||||
|
|
Loading…
Reference in New Issue