parent
8607251a6e
commit
63b5c549b9
|
@ -180,6 +180,9 @@ QtObject:
|
|||
if (self.activeCommunity.active and self.activeCommunity.communityItem.id == community.id):
|
||||
self.activeCommunity.setCommunityItem(community)
|
||||
|
||||
if (self.observedCommunity.communityItem.id == community.id):
|
||||
self.observedCommunity.setCommunityItem(community)
|
||||
|
||||
if (community.joined == true):
|
||||
let joinedCommunityCheck = self.joinedCommunityList.getCommunityById(community.id)
|
||||
if (joinedCommunityCheck.id == ""):
|
||||
|
|
|
@ -141,9 +141,9 @@ Item {
|
|||
anchors.top: sep2.bottom
|
||||
width: parent.width
|
||||
height: 44
|
||||
enabled: !invitedCommunity.joined
|
||||
enabled: !invitedCommunity.joined && !root.joined
|
||||
//% "Joined"
|
||||
text: root.joined || invitedCommunity.joined ? qsTrId("joined") :
|
||||
text: root.joined || invitedCommunity.joined || invitedCommunity.isMember ? qsTrId("joined") :
|
||||
//% "Join"
|
||||
qsTrId("join")
|
||||
onClicked: {
|
||||
|
|
Loading…
Reference in New Issue