mirror of
https://github.com/nasa/openmct.git
synced 2025-04-16 07:26:53 +00:00
[Search] No searching root
Removed the root type from the search menu types, so searches through the current UI will not reutrn root objects.
This commit is contained in:
parent
ce58aff18a
commit
3a932f5443
@ -43,7 +43,8 @@ define(function () {
|
||||
// On initialization, fill the scope's types with type keys
|
||||
types.forEach(function (type) {
|
||||
// We only want some types, the ones that are probably human readable
|
||||
if (type.key && type.name) {
|
||||
// Manually remove 'root', but not 'unknown'
|
||||
if (type.key && type.name && type.key !== 'root') {
|
||||
$scope.ngModel.types.push(type);
|
||||
$scope.ngModel.checked[type.key] = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user