Skip to content

Commit

Permalink
adressing pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes committed Sep 29, 2023
1 parent 5a20c9d commit 364f930
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {
isAWSLambdaAgent,
isAzureFunctionsAgent,
isServerlessAgent,
isRumOrMobileAgent,
} from '../../../../../common/agent_name';
import { useApmPluginContext } from '../../../../context/apm_plugin/use_apm_plugin_context';
import { ApmServiceContextProvider } from '../../../../context/apm_service/apm_service_context';
Expand Down Expand Up @@ -406,8 +407,8 @@ function useTabs({ selectedTab }: { selectedTab: Tab['key'] }) {
}),
hidden:
!isProfilingAvailable ||
isMobileAgentName(agentName) ||
isRumAgentName(agentName),
isRumOrMobileAgent(agentName) ||
isAWSLambdaAgent(serverlessType),
append: (
<EuiBadge color="accent">
{i18n.translate('xpack.apm.universalProfiling.newLabel', {
Expand Down

0 comments on commit 364f930

Please sign in to comment.