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:
Eric Mastro 2021-06-15 09:46:58 +10:00 committed by Iuri Matias
parent 395b10c4c0
commit c495c1037a
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ Column {
}
StatusIconButton {
visible: hhandler.hovered
visible: hhandler.hovered && chatsModel.communities.activeCommunity.admin
id: moreBtn
icon.name: "more"
width: 20