mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-30 08:15:55 +00:00
parent
ddb884fc37
commit
7c5114cf1d
@ -46,12 +46,12 @@ Item {
|
|||||||
showCheckbox: root.showCheckbox
|
showCheckbox: root.showCheckbox
|
||||||
isChecked: root.pubKeys.indexOf(model.pubKey) > -1
|
isChecked: root.pubKeys.indexOf(model.pubKey) > -1
|
||||||
pubKey: model.pubKey
|
pubKey: model.pubKey
|
||||||
isContact: model.isContact
|
isContact: model.isMutualContact
|
||||||
isUser: false
|
isUser: false
|
||||||
name: model.name
|
name: model.name
|
||||||
image: model.icon
|
image: model.icon
|
||||||
isVisible: {
|
isVisible: {
|
||||||
return model.isContact && !model.isBlocked && (root.filterText === "" ||
|
return model.isMutualContact && !model.isBlocked && (root.filterText === "" ||
|
||||||
root.matchesAlias(model.name.toLowerCase(), root.filterText.toLowerCase()) ||
|
root.matchesAlias(model.name.toLowerCase(), root.filterText.toLowerCase()) ||
|
||||||
model.name.toLowerCase().includes(root.filterText.toLowerCase()) ||
|
model.name.toLowerCase().includes(root.filterText.toLowerCase()) ||
|
||||||
model.pubKey.toLowerCase().includes(root.filterText.toLowerCase())) &&
|
model.pubKey.toLowerCase().includes(root.filterText.toLowerCase())) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user