mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-22 04:21:44 +00:00
fix(Communities): make creating channels work again
Very similar to #1986, we're trying to access the `activeCommunity` property on the `chatsModel` object, which doesn't have such a property anymore every since we've moved communities into its own view. This causes errors when trying to create channels. This commit fixes this bug by ensuring `activeCommunity` is accessed from `chatsModel.communities` instead.
This commit is contained in:
parent
86ea7014f6
commit
aa7fb862f2
@ -71,7 +71,7 @@ Item {
|
||||
icon.source: "../../img/hash.svg"
|
||||
icon.width: 20
|
||||
icon.height: 20
|
||||
onTriggered: openPopup(createChannelPopup, {communityId: chatsModel.activeCommunity.id})
|
||||
onTriggered: openPopup(createChannelPopup, {communityId: chatsModel.communities.activeCommunity.id})
|
||||
}
|
||||
|
||||
Action {
|
||||
|
Loading…
x
Reference in New Issue
Block a user