Skip to content

Commit db8f74a

Browse files
authored
Update step1-controller.js
1 parent a055cb2 commit db8f74a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Swastika.Cms.Web.Mvc/app/app-init/pages/step1/step1-controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ app.controller('Step1Controller', ['$scope', '$rootScope', 'ngAppSettings', '$ti
116116
adminPassword: '',
117117
lang: 'en-us',
118118
isSqlite: false,
119-
culture: $scope.settings[0]
119+
culture: $scope.settings.cultures[0]
120120
};
121121
$scope.updateLocalDbName = function () {
122122
$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
135135
$scope.$apply();
136136
}
137137
}
138-
}]);
138+
}]);

0 commit comments

Comments
 (0)