@@ -48,19 +48,19 @@ LocalComponents.Page {
50 id: cityLabel
50 id: cityLabel
51− text: tzData.city
51+ text: !!tzData ? tzData.city : ""
52 anchors.left: parent.left
52 anchors.left: parent.left
53 anchors.top: parent.top
53 anchors.top: parent.top
56 id: timeLabel
56 id: timeLabel
57− text: tzData.time
57+ text: !!tzData ? tzData.time : ""
58 anchors.right: parent.right
58 anchors.right: parent.right
59 anchors.top: parent.top
59 anchors.top: parent.top
62 id: abbrevLabel
62 id: abbrevLabel
63− text: tzData.abbreviation
63+ text: !!tzData ? tzData.abbreviation : ""
64 anchors.right: parent.right
64 anchors.right: parent.right
65 anchors.top: timeLabel.bottom
65 anchors.top: timeLabel.bottom
@@ -106,8 +106,8 @@ LocalComponents.Page {
107 delegate: Loader {
107 delegate: Loader {
108 id: loader
108 id: loader
109− anchors.left: parent.left
109+ anchors.left: !!parent ? parent.left : undefined
110− anchors.right: parent.right
110+ anchors.right: !!parent ? parent.right : undefined
111 height: units.gu(6)
111 height: units.gu(6)
112 asynchronous: true
112 asynchronous: true
113 sourceComponent: tzComponent
113 sourceComponent: tzComponent