From db8f74a722c1c9081e7d91e502615516215239ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nh=E1=BA=ADt=20Ho=C3=A0ng?= Date: Fri, 16 Nov 2018 12:29:21 +0700 Subject: [PATCH] Update step1-controller.js --- .../app/app-init/pages/step1/step1-controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Swastika.Cms.Web.Mvc/app/app-init/pages/step1/step1-controller.js b/src/Swastika.Cms.Web.Mvc/app/app-init/pages/step1/step1-controller.js index 93df6981..eb3260f2 100644 --- a/src/Swastika.Cms.Web.Mvc/app/app-init/pages/step1/step1-controller.js +++ b/src/Swastika.Cms.Web.Mvc/app/app-init/pages/step1/step1-controller.js @@ -116,7 +116,7 @@ app.controller('Step1Controller', ['$scope', '$rootScope', 'ngAppSettings', '$ti adminPassword: '', lang: 'en-us', isSqlite: false, - culture: $scope.settings[0] + culture: $scope.settings.cultures[0] }; $scope.updateLocalDbName = function () { $scope.initCmsModel.localDbConnectionString = 'Server=(localdb)\\mssqllocaldb;Database=' + $scope.initCmsModel.localDbName + ';Trusted_Connection=True;MultipleActiveResultSets=true'; @@ -135,4 +135,4 @@ app.controller('Step1Controller', ['$scope', '$rootScope', 'ngAppSettings', '$ti $scope.$apply(); } } - }]); \ No newline at end of file + }]);