Skip to content

Commit

Permalink
fix(@chat/groups): resolve undefined chatContentModule
Browse files Browse the repository at this point in the history
fixes: #7146
  • Loading branch information
osmaczko committed Aug 25, 2022
1 parent 7b77973 commit f272c6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ui/app/AppLayouts/Chat/views/ChatColumnView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ Item {
Component.onCompleted: {
parentModule.prepareChatContentModuleForChatId(model.itemId)
chatContentModule = parentModule.getChatContentModule()
chatSectionModule = root.chatSectionModule;
chatSectionModule = root.parentModule
}
}
}
Expand Down Expand Up @@ -297,7 +297,7 @@ Item {
Component.onCompleted: {
parentModule.prepareChatContentModuleForChatId(model.itemId)
chatContentModule = parentModule.getChatContentModule()
chatSectionModule = root.chatSectionModule;
chatSectionModule = root.parentModule
root.checkForCreateChatOptions(model.itemId)
}
}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/AppLayouts/Chat/views/ChatContentView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ ColumnLayout {
Component {
id: contactsSelector
GroupChatPanel {
sectionModule: chatSectionModule
sectionModule: root.chatSectionModule
chatContentModule: root.chatContentModule
rootStore: root.rootStore
maxHeight: root.height
Expand Down

0 comments on commit f272c6e

Please sign in to comment.