From d880fb6804a66ac77d421055c806f2c30ae70d5a Mon Sep 17 00:00:00 2001 From: iblancof Date: Thu, 10 Oct 2024 10:13:46 +0200 Subject: [PATCH] Use INVENTORY_APP_ID const --- .../plugins/observability_solution/inventory/public/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) )