fix(StatusTagSelector): hide contact when it is selected (#668)
This commit is contained in:
parent
818374af1a
commit
df3452d24d
|
@ -340,7 +340,15 @@ Item {
|
|||
id: wrapper
|
||||
anchors.right: parent.right
|
||||
anchors.left: parent.left
|
||||
height: 64
|
||||
height: visible ? 64 : 0
|
||||
visible: {
|
||||
for (let i = 0; i < namesModel.count; i++) {
|
||||
if (namesModel.get(i).publicId === model.publicId) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
Rectangle {
|
||||
id: rectangle
|
||||
anchors.fill: parent
|
||||
|
|
Loading…
Reference in New Issue