[Addressability] Remove excessive check

Remove unneeded check from ViewSwitcherController; not necessary
to avoid overwriting query string selection of view. WTD-1149.
This commit is contained in:
Victor Woeltjen
2015-06-16 15:40:19 -07:00
parent 699cd3bd90
commit bcb4e9c495

View File

@ -53,7 +53,7 @@ define(
// Get list of views, read from capability // Get list of views, read from capability
function updateOptions(views) { function updateOptions(views) {
if (Array.isArray(views) && !($scope.ngModel || {}).selected) { if (Array.isArray(views)) {
$timeout(function () { $timeout(function () {
$scope.ngModel.selected = findMatchingOption( $scope.ngModel.selected = findMatchingOption(
views, views,