@if (searching) {
Searching
} @else { @if (hasResults()) {

@if (processorResults.length > 0) { } @if (connectionResults.length > 0) { } @if (processGroupResults.length > 0) { } @if (remoteProcessGroupResults.length > 0) { } @if (inputPortResults.length > 0) { } @if (outputPortResults.length > 0) { } @if (funnelResults.length > 0) { } @if (labelResults.length > 0) { } @if (controllerServiceNodeResults.length > 0) { } @if (parameterProviderNodeResults.length > 0) { } @if (parameterContextResults.length > 0) { } @if (parameterResults.length > 0) { }

} @else {
No results matched the search terms
} }
@if (results.length > 0) {
- {{ header }}
@for (result of results; track result) {
- @if (header === 'Parameters') { {{ result.name }} } @else if (header === 'Parameter Contexts') { {{ result.name }} } @else if (header === 'Parameter Providers') { {{ result.name }} } @else if (header === 'Controller Services') { {{ result.name ? result.name : result.id }} } @else { @if (!result.parentGroup) { {{ result.name }} } @else { @if (result.parentGroup.id == currentProcessGroupId) { {{ result.name ? result.name : result.id }} } @else { {{ result.name ? result.name : result.id }} } } }
} }