mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
[Integration] Hide elastic_connectors package (#211419)
## Summary Hide `elastic_conenctors` package by default. This excludes the package from: - integration page - search results #### Verification Without the change package shows up as the integration, and search results. With the change it's correctly excluded.
This commit is contained in:
parent
0dfa21571b
commit
aa681551b0
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ import { FLEET_SERVER_PACKAGE } from '../../../common/constants';
|
|||
|
||||
export function getFilteredSearchPackages() {
|
||||
const shouldFilterFleetServer = appContextService.getConfig()?.internal?.fleetServerStandalone;
|
||||
const filtered: string[] = ['profiler_collector', 'profiler_symbolizer'];
|
||||
const filtered: string[] = ['profiler_collector', 'profiler_symbolizer', 'elastic_connectors'];
|
||||
// Do not allow to search for Fleet server integration if configured to use standalone fleet server
|
||||
if (shouldFilterFleetServer) {
|
||||
filtered.push(FLEET_SERVER_PACKAGE);
|
||||
|
@ -22,7 +22,7 @@ export function getFilteredSearchPackages() {
|
|||
}
|
||||
|
||||
export function getFilteredInstallPackages() {
|
||||
const filtered: string[] = [];
|
||||
const filtered: string[] = ['elastic_connectors'];
|
||||
|
||||
const excludePackages = appContextService.getConfig()?.internal?.registry?.excludePackages ?? [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue