mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-29 15:57:03 +00:00
fix(@desktop/communities): Fix suggestion for communities
This commit is contained in:
parent
5c4b75ce6a
commit
c11267c13d
@ -604,7 +604,12 @@ Rectangle {
|
||||
|
||||
SuggestionBox {
|
||||
id: suggestionsBox
|
||||
model: chatsModel.messageView.messageList.userList
|
||||
model: {
|
||||
if (chatsModel.communities.activeCommunity.active) {
|
||||
return chatsModel.communities.activeCommunity.members
|
||||
}
|
||||
return chatsModel.messageView.messageList.userList
|
||||
}
|
||||
x : messageInput.x
|
||||
y: -height - Style.current.smallPadding
|
||||
width: messageInput.width
|
||||
|
Loading…
x
Reference in New Issue
Block a user