fix(StatusTagSelector): hide contact when it is selected (#668)
This commit is contained in:
parent
eb96e5e08d
commit
6c5957a492
|
@ -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