Merge pull request #5001 from kjac/v8-fix-inherit-culture

V8: Fix the "Language" dropdown in the "Culture and Hostnames" dialog
This commit is contained in:
Bjarke Berg
2019-03-18 08:39:41 +01:00
committed by GitHub

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];