mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 22:58:14 +00:00
Update tests and correct style
Update tests to reflect new functionality. Closes https://github.com/nasa/openmct/issues/1360
This commit is contained in:
@ -70,7 +70,7 @@ define(
|
||||
cancelEditing(domainObject);
|
||||
});
|
||||
|
||||
function setViewForDomainObject(domainObject) {
|
||||
function setViewForDomainObject() {
|
||||
|
||||
var locationViewKey = $location.search().view;
|
||||
|
||||
@ -87,7 +87,7 @@ define(
|
||||
}
|
||||
}
|
||||
|
||||
setViewForDomainObject($scope.domainObject);
|
||||
setViewForDomainObject();
|
||||
|
||||
$scope.doAction = function (action) {
|
||||
return $scope[action] && $scope[action]();
|
||||
|
Reference in New Issue
Block a user