From f7d8bee976f9a8f66de201008fb83334981fa46c Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 28 Nov 2022 21:09:40 -0500 Subject: [PATCH] [8.6] [Security Solution] Inspect button title missing (#146473) (#146490) # Backport This will backport the following commits from `main` to `8.6`: - [[Security Solution] Inspect button title missing (#146473)](https://github.com/elastic/kibana/pull/146473) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) Co-authored-by: christineweng <18648970+christineweng@users.noreply.github.com> --- .../public/common/components/sessions_viewer/index.tsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/x-pack/plugins/security_solution/public/common/components/sessions_viewer/index.tsx b/x-pack/plugins/security_solution/public/common/components/sessions_viewer/index.tsx index ea00011489452..aad3ab6ab5e46 100644 --- a/x-pack/plugins/security_solution/public/common/components/sessions_viewer/index.tsx +++ b/x-pack/plugins/security_solution/public/common/components/sessions_viewer/index.tsx @@ -106,6 +106,7 @@ const SessionsViewComponent: React.FC = ({ dispatch( dataTableActions.initializeTGridSettings({ id: tableId, + title: i18n.SESSIONS_TITLE, defaultColumns: eventsDefaultModel.columns.map((c) => !tGridEnabled && c.initialWidth == null ? { @@ -146,15 +147,6 @@ const SessionsViewComponent: React.FC = ({ const unit = (c: number) => c > 1 ? i18n.TOTAL_COUNT_OF_SESSIONS : i18n.SINGLE_COUNT_OF_SESSIONS; - useEffect(() => { - dispatch( - dataTableActions.initializeTGridSettings({ - id: tableId, - title: i18n.SESSIONS_TITLE, - }) - ); - }, [dispatch, tableId]); - return (