mirror of
https://github.com/nasa/openmct.git
synced 2025-03-23 12:35:48 +00:00
[Search] Removed getObjectByID
Was no longer necissary with the current method of search() getting objects.
This commit is contained in:
parent
07e08c283a
commit
b35fddefc0
@ -120,6 +120,7 @@ define(function () {
|
||||
}
|
||||
|
||||
return {
|
||||
// Search the database using the user input from id "searchinput"
|
||||
search: function () {
|
||||
search2().then( function (c) {
|
||||
$scope.results = c;
|
||||
@ -133,14 +134,6 @@ define(function () {
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
||||
getObjectByID: function (id) {
|
||||
console.log('getObjectByID called');
|
||||
objectService.getObjects([id]).then(function (out) {
|
||||
console.log('object gotten by id', out[id]);
|
||||
return out[id];
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user