From ae93ba01f7f6d3e6b45920b1de9e8f0bd3196882 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Thu, 6 Oct 2022 12:10:54 -0600 Subject: [PATCH] [Profiling] Avoid line-break of samples (#142322) (#142890) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit ba306be80d3e962689ad3ef77340846f91d4c3f5) Co-authored-by: Tim Rühsen --- x-pack/plugins/profiling/public/components/topn_functions.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x-pack/plugins/profiling/public/components/topn_functions.tsx b/x-pack/plugins/profiling/public/components/topn_functions.tsx index 4d8522913a245..8421b99b5dc7d 100644 --- a/x-pack/plugins/profiling/public/components/topn_functions.tsx +++ b/x-pack/plugins/profiling/public/components/topn_functions.tsx @@ -144,6 +144,9 @@ export const TopNFunctionsTable = ({ defaultMessage: 'Samples', }), align: 'right', + render: (_, { samples }) => { + return {samples}; + }, }, { field: TopNFunctionSortField.ExclusiveCPU,