@@ -48,19 +48,19 @@ LocalComponents.Page {
4848
4949 Label {
5050 id: cityLabel
51− text: tzData.city
51+ text: !!tzData ? tzData.city : ""
5252 anchors.left: parent.left
5353 anchors.top: parent.top
5454 }
5555 Label {
5656 id: timeLabel
57− text: tzData.time
57+ text: !!tzData ? tzData.time : ""
5858 anchors.right: parent.right
5959 anchors.top: parent.top
6060 }
6161 Label {
6262 id: abbrevLabel
63− text: tzData.abbreviation
63+ text: !!tzData ? tzData.abbreviation : ""
6464 anchors.right: parent.right
6565 anchors.top: timeLabel.bottom
6666 }
@@ -106,8 +106,8 @@ LocalComponents.Page {
106106
107107 delegate: Loader {
108108 id: loader
109− anchors.left: parent.left
110− anchors.right: parent.right
109+ anchors.left: !!parent ? parent.left : undefined
110+ anchors.right: !!parent ? parent.right : undefined
111111 height: units.gu(6)
112112 asynchronous: true
113113 sourceComponent: tzComponent