Skip to content

Commit

Permalink
review nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Nov 16, 2020
1 parent c7dcc2b commit a086923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/data/common/search/session/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function getSessionServiceMock(): jest.Mocked<ISessionService> {
clear: jest.fn(),
start: jest.fn(),
restore: jest.fn(),
getSessionId: jest.fn(() => undefined),
getSessionId: jest.fn(),
getSession$: jest.fn(() => new BehaviorSubject(undefined).asObservable()),
};
}
2 changes: 1 addition & 1 deletion x-pack/plugins/data_enhanced/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class DataEnhancedPlugin
public start(core: CoreStart, plugins: DataEnhancedStartDependencies) {
setAutocompleteService(plugins.data.autocomplete);

if (this.initializerContext.config.get()?.search?.sendToBackground?.enabled) {
if (this.initializerContext.config.get().search.sendToBackground.enabled) {
core.chrome.setBreadcrumbsAppendExtension({
content: toMountPoint(
React.createElement(
Expand Down

0 comments on commit a086923

Please sign in to comment.