diff --git a/x-pack/plugins/observability_solution/inventory/public/plugin.ts b/x-pack/plugins/observability_solution/inventory/public/plugin.ts index 390ad767ccc7d..5173e317e425c 100644 --- a/x-pack/plugins/observability_solution/inventory/public/plugin.ts +++ b/x-pack/plugins/observability_solution/inventory/public/plugin.ts @@ -61,7 +61,7 @@ export class InventoryPlugin from(pluginsStart.spaces.getActiveSpace()).pipe( map( (space) => - space.disabledFeatures.includes('inventory') || + space.disabledFeatures.includes(INVENTORY_APP_ID) || !coreStart.application.capabilities.inventory.show ) )