mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 14:18:16 +00:00
[Search] Input checks
More checks to see if the input is empty before doing search computations.
This commit is contained in:
@ -40,7 +40,9 @@ define(function () {
|
||||
var inputText = $scope.ngModel.input;
|
||||
|
||||
// We are starting to load.
|
||||
loading = true;
|
||||
if (inputText !== '' && inputText !== undefined) {
|
||||
loading = true;
|
||||
}
|
||||
|
||||
// Update whether the file tree should be displayed
|
||||
// Hide tree only when starting search
|
||||
|
Reference in New Issue
Block a user