mirror of
https://github.com/nasa/openmct.git
synced 2025-06-21 08:39:59 +00:00
[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