mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-21 19:18:53 +00:00
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…
x
Reference in New Issue
Block a user