fix(Groups): block add members button is you not group admin
Closes: #4840
This commit is contained in:
parent
23d9e9f8e9
commit
4c0b09e9f5
|
@ -279,7 +279,7 @@ StatusModal {
|
||||||
|
|
||||||
rightButtons: [
|
rightButtons: [
|
||||||
StatusButton {
|
StatusButton {
|
||||||
visible: !popup.addMembers
|
visible: !popup.addMembers && popup.isAdmin
|
||||||
//% "Add members"
|
//% "Add members"
|
||||||
text: qsTrId("add-members")
|
text: qsTrId("add-members")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|
Loading…
Reference in New Issue