File tree 3 files changed +5
-4
lines changed
components/notebooks/components/paragraph_components
services/saved_objects/saved_object_savers/ppl
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ export const ParaOutput = (props: {
134
134
fromObs = fromObs === 'Invalid date' ? visInput . timeRange . from : fromObs ;
135
135
toObs = toObs === 'Invalid date' ? visInput . timeRange . to : toObs ;
136
136
const onEditClick = ( savedVisualizationId : string ) => {
137
- window . location . assign ( `#/event_analytics /explorer/${ savedVisualizationId } ` ) ;
137
+ window . location . assign ( `observability-logs# /explorer/${ savedVisualizationId } ` ) ;
138
138
} ;
139
139
return (
140
140
< >
@@ -161,6 +161,7 @@ export const ParaOutput = (props: {
161
161
case 'HTML' :
162
162
return (
163
163
< EuiText key = { key } >
164
+ { /* eslint-disable-next-line react/jsx-pascal-case */ }
164
165
< Media . HTML data = { val } />
165
166
</ EuiText >
166
167
) ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export class SaveAsNewQuery extends SavedQuerySaver {
28
28
this . saveClient
29
29
. create ( { ...this . saveParams } )
30
30
. then ( ( res : any ) => {
31
- history . replace ( `/event_analytics/ explorer/${ res . objectId } ` ) ;
31
+ history . replace ( `/explorer/${ res . objectId } ` ) ;
32
32
notifications . toasts . addSuccess ( {
33
33
title : 'Saved successfully.' ,
34
34
text : `New query '${ name } ' has been successfully saved.` ,
@@ -50,7 +50,7 @@ export class SaveAsNewQuery extends SavedQuerySaver {
50
50
} )
51
51
) ;
52
52
} ) ;
53
- history . replace ( `/event_analytics/ explorer/${ res . objectId } ` ) ;
53
+ history . replace ( `/explorer/${ res . objectId } ` ) ;
54
54
return res ;
55
55
} )
56
56
. catch ( ( error : any ) => {
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export class SaveAsNewVisualization extends SavedQuerySaver {
54
54
if ( appLogEvents ) {
55
55
addVisualizationToPanel ( res . objectId , name ) ;
56
56
} else {
57
- history . replace ( `/event_analytics/ explorer/${ res . objectId } ` ) ;
57
+ history . replace ( `/explorer/${ res . objectId } ` ) ;
58
58
}
59
59
60
60
batch ( ( ) => {
You can’t perform that action at this time.
0 commit comments