Verified Commit fa6c2292 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

Fix TypeErrors

parent 9749a6cb
Pipeline #16184 passed with stage
in 4 minutes and 4 seconds
......@@ -95,9 +95,9 @@ Kirigami.ScrollablePage {
id: contactListDelegate
ContactListItem {
height: Kirigami.Units.gridUnit * 3
name: model.display
avatarIcon: model.decoration
personUri: model.personUri
name: model && model.display
avatarIcon: model && model.decoration
personUri: model && model.personUri
actions: [
Kirigami.Action {
......@@ -115,7 +115,7 @@ Kirigami.ScrollablePage {
}
delegate: Kirigami.DelegateRecycler {
width: parent.width
width: parent ? parent.width : 0
sourceComponent: contactListDelegate
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment