fix(@desktop/community): Only admin can open community settings
Fix #7379
This commit is contained in:
parent
b70a1c3a45
commit
680dd39c76
|
@ -58,7 +58,7 @@ Item {
|
|||
asset.name: communityData.image
|
||||
asset.color: communityData.color
|
||||
asset.isImage: true
|
||||
onClicked: root.infoButtonClicked()
|
||||
onClicked: if (communityData.amISectionAdmin) { root.infoButtonClicked() }
|
||||
anchors.top: parent.top
|
||||
anchors.topMargin: Style.current.smallPadding
|
||||
anchors.left: parent.left
|
||||
|
@ -66,6 +66,7 @@ Item {
|
|||
anchors.right: (implicitWidth > parent.width - 50) ? adHocChatButton.left : undefined
|
||||
anchors.rightMargin: Style.current.halfPadding
|
||||
type: StatusChatInfoButton.Type.OneToOneChat
|
||||
hoverEnabled: communityData.amISectionAdmin
|
||||
}
|
||||
|
||||
StatusIconTabButton {
|
||||
|
|
Loading…
Reference in New Issue