Skip to content

Commit

Permalink
fix conflicted fields modal
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed May 14, 2022
1 parent b932dca commit ea43a45
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ export function Tabs({
getFieldInfo,
}}
openModal={overlays.openModal}
theme={theme!}
theme={theme}
userEditPermission={dataViews.getCanSaveSync()}
/>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export async function mountManagementSection(
IndexPatternEditor: dataViewEditor.IndexPatternEditorComponent,
fieldFormats,
spaces,
theme,
};

ReactDOM.render(
Expand Down
2 changes: 2 additions & 0 deletions src/plugins/data_view_management/public/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
DocLinksStart,
HttpSetup,
ApplicationStart,
ThemeServiceStart,
} from '@kbn/core/public';
import { DataPublicPluginStart } from '@kbn/data-plugin/public';
import { UnifiedSearchPublicPluginStart } from '@kbn/unified-search-plugin/public';
Expand Down Expand Up @@ -44,6 +45,7 @@ export interface IndexPatternManagmentContext {
IndexPatternEditor: DataViewEditorStart['IndexPatternEditorComponent'];
fieldFormats: FieldFormatsStart;
spaces?: SpacesPluginStart;
theme: ThemeServiceStart;
}

export type IndexPatternManagmentContextValue =
Expand Down

0 comments on commit ea43a45

Please sign in to comment.