mirror of
https://github.com/nasa/openmct.git
synced 2025-05-09 12:03:21 +00:00
[Search] Comments
This commit is contained in:
parent
8f65c73c8a
commit
ec87ac7652
@ -166,17 +166,6 @@ define(
|
|||||||
*/
|
*/
|
||||||
isSelected: function () {
|
isSelected: function () {
|
||||||
return isSelected;
|
return isSelected;
|
||||||
|
|
||||||
// Modification for compatibility with search.
|
|
||||||
// If this object is the same as the model's selected object
|
|
||||||
// Same being them having the same ID (this allows different
|
|
||||||
// instances of the same thing to be recognized as the same)
|
|
||||||
//return getId($scope.ngModel.selectedObject) === getId($scope.domainObject);
|
|
||||||
|
|
||||||
// Not using modified version now because it breaks tests.
|
|
||||||
|
|
||||||
// TODO: Check to make sure this change doesn't break
|
|
||||||
// anything/find a better way to do this
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user