Skip to content

Commit a086923

Browse files
committed
review nits
1 parent c7dcc2b commit a086923

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/plugins/data/common/search/session
  • x-pack/plugins/data_enhanced/public

src/plugins/data/common/search/session/mocks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

x-pack/plugins/data_enhanced/public/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)