File tree Expand file tree Collapse file tree
src/plugins/data/common/search/session
x-pack/plugins/data_enhanced/public Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export function getSessionServiceMock(): jest.Mocked<ISessionService> {
2525 clear : jest . fn ( ) ,
2626 start : jest . fn ( ) ,
2727 restore : jest . fn ( ) ,
28- getSessionId : jest . fn ( ( ) => undefined ) ,
28+ getSessionId : jest . fn ( ) ,
2929 getSession$ : jest . fn ( ( ) => new BehaviorSubject ( undefined ) . asObservable ( ) ) ,
3030 } ;
3131}
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export class DataEnhancedPlugin
5959 public start ( core : CoreStart , plugins : DataEnhancedStartDependencies ) {
6060 setAutocompleteService ( plugins . data . autocomplete ) ;
6161
62- if ( this . initializerContext . config . get ( ) ? .search ? .sendToBackground ? .enabled ) {
62+ if ( this . initializerContext . config . get ( ) . search . sendToBackground . enabled ) {
6363 core . chrome . setBreadcrumbsAppendExtension ( {
6464 content : toMountPoint (
6565 React . createElement (
You can’t perform that action at this time.
0 commit comments