on xenial help sign in
Drop unnecessary check.
commite6999adf4523db930fcf7a6c8c20255e51a48cdb authorMichał Sawicz <michal.sawicz@canonical.com> dateTue 18 Feb 2014, 18:52 (13 years ago) parente40e2cc
1 file changed+1−1
qml/Dash/Card.qml+1−1
qml/Dash/Card.qml+1−1
@@ -37,7 +37,7 @@ Item {
3737 radius: "medium"
3838 visible: template["card-layout"] !== "horizontal" && (template["card-background"] || components["background"]
3939 || artAndSummary)
40− property bool artAndSummary: typeof components["art"] === "string" || typeof components["art"]["field"] === "string" && components["summary"] || false
40+ property bool artAndSummary: components["art"]["field"] && components["summary"] || false
4141 color: getColor(0) || "white"
4242 gradientColor: getColor(1) || color
4343 anchors.fill: parent