mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-23 21:11:55 +00:00
Fixed filtering contacts issue on when create new chat. Fixes #1705
This commit is contained in:
parent
5b3d202797
commit
8acdaff6f9
@ -143,6 +143,10 @@ ModalPopup {
|
||||
chatsModel.joinChat(pubKey, Constants.chatTypeOneToOne);
|
||||
popup.close()
|
||||
}
|
||||
visible: (model.isContact && (chatKey.text === "" ||
|
||||
model.name.toLowerCase().includes(chatKey.text.toLowerCase()) ||
|
||||
model.address.toLowerCase().includes(chatKey.text.toLowerCase()))) ||
|
||||
popup.pubKey === model.pubKey
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user