Fix the "Language" dropdown in the "Culture and Hostnames" dialog

This commit is contained in:
Kenn Jacobsen
2019-03-17 20:51:42 +01:00
committed by Shannon
parent 4fcf2ce7bd
commit 8a56b3db16

View File

@@ -46,8 +46,7 @@
if (data.language !== "undefined") {
var lang = vm.languages.filter(function (l) {
return matchLanguageById(l, data.language.Id);
return matchLanguageById(l, data.language);
});
if (lang.length > 0) {
vm.language = lang[0];