File tree 1 file changed +9
-1
lines changed
public/components/custom_panels/helpers
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 5
5
6
6
import { EuiButton , EuiContextMenu , EuiPopover } from '@elastic/eui' ;
7
7
import React , { useState } from 'react' ;
8
+ import {
9
+ CREATE_TAB_PARAM ,
10
+ CREATE_TAB_PARAM_KEY ,
11
+ TAB_CHART_ID ,
12
+ } from '../../../../common/constants/explorer' ;
13
+ import { observabilityLogsID } from '../../../../common/constants/shared' ;
8
14
9
15
interface AddVisualizationPopoverProps {
10
16
showFlyout : ( isReplacement ?: boolean , replaceVizId ?: string ) => void ;
@@ -27,7 +33,9 @@ export const AddVisualizationPopover = ({
27
33
28
34
const advancedVisualization = ( ) => {
29
35
closeVizPopover ( ) ;
30
- window . location . assign ( '#/event_analytics/explorer' ) ;
36
+ window . location . assign (
37
+ `${ observabilityLogsID } #/explorer?${ CREATE_TAB_PARAM_KEY } =${ CREATE_TAB_PARAM [ TAB_CHART_ID ] } `
38
+ ) ;
31
39
} ;
32
40
33
41
const getVizContextPanels = ( ) => {
You can’t perform that action at this time.
0 commit comments