on xenial help sign in
test cardData.
commite6c322ab2ccf04f6412e038ec8c2e7cc1471d92c authorYing-Chun Liu <paul.liu@canonical.com> dateSat 26 Jul 2014, 00:27 (12 years ago) parentfefea98
1 file changed+1−1
plugins/Dash/CardCreator.js+1−1
plugins/Dash/CardCreator.js+1−1
@@ -279,7 +279,7 @@ var kAttributesRowCode = 'CardAttributes { \n\
279279 objectName: "attributesRow"; \n\
280280 anchors { %1 } \n\
281281 color: %2; \n\
282− model: cardData["attributes"] \n\
282+ model: cardData && cardData["attributes"] || undefined; \n\
283283 }\n';
284284
285285// %1 is used as top anchor of summary