Skip to content
Snippets Groups Projects
Commit 9161a771 authored by Michal Hrusecky's avatar Michal Hrusecky :mouse:
Browse files

Add fallback for description

parent d0fdaaa0
Branches
Tags v4.1.0
1 merge request!2Merge frontend and backend dev branches
......@@ -55,6 +55,11 @@ getJSON("js/apps.json")
break;
}
// Fallback if description is not translated
if (!appDescription) {
appDescription = app.description.en;
}
selected == id
? (selectedApp = true) && (appRedirect = url)
: (selectedApp = false);
......@@ -117,4 +122,4 @@ function dynamicWidth() {
} else if (childCardNumber === 3) {
progressContainer.style.maxWidth = "950px";
}
}
\ No newline at end of file
}
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