mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
# Backport This will backport the following commits from `main` to `8.12`: - [[Security Solution][Bug] Render esql tab only when needed (#173484)](https://github.com/elastic/kibana/pull/173484) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sergi Massaneda","email":"sergi.massaneda@elastic.co"},"sourceCommit":{"committedDate":"2023-12-19T12:09:47Z","message":"[Security Solution][Bug] Render esql tab only when needed (#173484)\n\n## Summary\r\n\r\nRenders ES|QL tab only when it is visible, so ES|QL queries are not\r\ntriggered only by having the Timeline bottom bar available.","sha":"f9f22d5d554a14e8cd215caa3fe11fb3ea82acc3","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:Threat Hunting","v8.12.0","v8.13.0","v8.11.4"],"number":173484,"url":"https://github.com/elastic/kibana/pull/173484","mergeCommit":{"message":"[Security Solution][Bug] Render esql tab only when needed (#173484)\n\n## Summary\r\n\r\nRenders ES|QL tab only when it is visible, so ES|QL queries are not\r\ntriggered only by having the Timeline bottom bar available.","sha":"f9f22d5d554a14e8cd215caa3fe11fb3ea82acc3"}},"sourceBranch":"main","suggestedTargetBranches":["8.12","8.11"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173484","number":173484,"mergeCommit":{"message":"[Security Solution][Bug] Render esql tab only when needed (#173484)\n\n## Summary\r\n\r\nRenders ES|QL tab only when it is visible, so ES|QL queries are not\r\ntriggered only by having the Timeline bottom bar available.","sha":"f9f22d5d554a14e8cd215caa3fe11fb3ea82acc3"}},{"branch":"8.11","label":"v8.11.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Sergi Massaneda <sergi.massaneda@elastic.co>
This commit is contained in:
parent
f314fcc3b3
commit
7bbef5c249
1 changed files with 2 additions and 2 deletions
|
@ -182,9 +182,9 @@ const ActiveTimelineTab = memo<ActiveTimelineTabProps>(
|
|||
timelineId={timelineId}
|
||||
/>
|
||||
</HideShowContainer>
|
||||
{isEsqlSettingEnabled && (
|
||||
{showTimeline && isEsqlSettingEnabled && activeTimelineTab === TimelineTabs.esql && (
|
||||
<HideShowContainer
|
||||
$isVisible={TimelineTabs.esql === activeTimelineTab}
|
||||
$isVisible={true}
|
||||
data-test-subj={`timeline-tab-content-${TimelineTabs.esql}`}
|
||||
>
|
||||
<EsqlTab timelineId={timelineId} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue