summaryrefslogtreecommitdiffstats
path: root/views/people/qml/PersonPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'views/people/qml/PersonPage.qml')
-rw-r--r--views/people/qml/PersonPage.qml9
1 files changed, 4 insertions, 5 deletions
diff --git a/views/people/qml/PersonPage.qml b/views/people/qml/PersonPage.qml
index 0b04a3d7..3f4c35a6 100644
--- a/views/people/qml/PersonPage.qml
+++ b/views/people/qml/PersonPage.qml
@@ -149,12 +149,12 @@ Flickable {
149 width: personPageRoot.width - Kube.Units.largeSpacing 149 width: personPageRoot.width - Kube.Units.largeSpacing
150 150
151 Repeater { 151 Repeater {
152 model: contactController.emails 152 model: contactController.mails.model
153 153
154 delegate: Row { 154 delegate: Row {
155 spacing: Kube.Units.smallSpacing 155 spacing: Kube.Units.smallSpacing
156 Kube.Label { text: qsTr("(main)") } 156 Kube.Label { text: qsTr("(main)") }
157 Kube.Label { text: modelData ; color: Kube.Colors.highlightColor } 157 Kube.Label { text: model.email ; color: Kube.Colors.highlightColor }
158 Item { width: Kube.Units.smallSpacing; height: 1 } 158 Item { width: Kube.Units.smallSpacing; height: 1 }
159 } 159 }
160 } 160 }
@@ -167,12 +167,11 @@ Flickable {
167 spacing: Kube.Units.smallSpacing 167 spacing: Kube.Units.smallSpacing
168 168
169 Repeater { 169 Repeater {
170 model: contactController.phoneNumbers 170 model: contactController.phones.model
171
172 Row { 171 Row {
173 spacing: Kube.Units.smallSpacing 172 spacing: Kube.Units.smallSpacing
174 Kube.Label { text: qsTr("(main)") } 173 Kube.Label { text: qsTr("(main)") }
175 Kube.Label { text: modelData ; opacity: 0.6 } 174 Kube.Label { text: model.number ; opacity: 0.6 }
176 Item { width: Kube.Units.smallSpacing; height: 1 } 175 Item { width: Kube.Units.smallSpacing; height: 1 }
177 } 176 }
178 } 177 }