Commit 383c7169 authored by Sven Franck's avatar Sven Franck

app: fixed undefined logic object breaking generator

parent cbc7854c
......@@ -2683,7 +2683,7 @@
if (element.type === "a") {
icon = (element.attributes || {})["data-icon"] || default_icon;
// because of custom a in service_instance_status!
if (!element.logic.plain_link) {
if (!(element.logic || {}).plain_link) {
string += " ui-btn ui-shadow ";
}
if (icon) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment