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 {
|
||||
visible: hhandler.hovered
|
||||
visible: hhandler.hovered && chatsModel.communities.activeCommunity.admin
|
||||
id: moreBtn
|
||||
icon.name: "more"
|
||||
width: 20
|
||||
|
|
Loading…
Reference in New Issue