fix(Communities): resolved popup warning

Closes #10952
This commit is contained in:
Alexandra Betouni 2023-06-06 17:28:27 +03:00
parent 525a8e19bf
commit 3227d5afb4
1 changed files with 16 additions and 15 deletions

View File

@ -76,7 +76,7 @@ Item {
} }
onClicked: { onClicked: {
communityIntroDialog.open() Global.openPopup(communityIntroDialog);
} }
Connections { Connections {
@ -88,9 +88,9 @@ Item {
} }
} }
} }
Component {
CommunityIntroDialog {
id: communityIntroDialog id: communityIntroDialog
CommunityIntroDialog {
isInvitationPending: joinCommunityButton.invitationPending isInvitationPending: joinCommunityButton.invitationPending
name: communityData.name name: communityData.name
@ -108,6 +108,7 @@ Item {
} }
} }
} }
}
ChatsLoadingPanel { ChatsLoadingPanel {
chatSectionModule: root.communitySectionModule chatSectionModule: root.communitySectionModule