mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 13:48:12 +00:00
[Fixed Position] Expose view proxy
Expose view proxy as selection state from the Fixed Position controller, to make Add button available under generalized selection mechanism, WTD-929.
This commit is contained in:
@ -208,9 +208,14 @@ define(
|
||||
});
|
||||
}
|
||||
|
||||
// Track current selection state
|
||||
// Track current selection state
|
||||
selection = $scope.selection;
|
||||
|
||||
// Expose the view's selection proxy
|
||||
if (selection) {
|
||||
selection.proxy(new FixedProxy(addElement, $q, dialogService));
|
||||
}
|
||||
|
||||
// Refresh list of elements whenever model changes
|
||||
$scope.$watch("model.modified", refreshElements);
|
||||
|
||||
|
Reference in New Issue
Block a user