[Addressability] Add spec for BrowseObjectController
Add spec for BrowseObjectController, added to track current view selection from/to query string params, WTD-1149.
This commit is contained in:
@@ -37,6 +37,7 @@ define(
|
||||
|
||||
function selectViewIfMatching(view) {
|
||||
if (view.key === locationViewKey) {
|
||||
$scope.representation = $scope.representation || {};
|
||||
$scope.representation.selected = view;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user