null check

This commit is contained in:
Shannon
2018-09-14 11:52:59 +10:00
parent 458b9dac4d
commit b62477ec3b
@@ -164,7 +164,7 @@ function listViewController($scope, $routeParams, $injector, $timeout, currentUs
$scope.$watch(function () {
return $routeParams.cculture ? $routeParams.cculture : $routeParams.mculture;
}, function (newVal, oldVal) {
if (newVal !== oldVal) {
if (newVal && newVal !== oldVal) {
//update the options
$scope.options.cultureName = newVal;
$scope.reloadView($scope.contentId);