Skip to content

Commit

Permalink
pass in discover plugin into context
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimkibana committed Feb 11, 2022
1 parent 5de749e commit faecb43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ interface Props {
export type FileDataVisualizerSpec = typeof FileDataVisualizer;
export const FileDataVisualizer: FC<Props> = ({ additionalLinks }) => {
const coreStart = getCoreStart();
const { data, maps, embeddable, share, security, fileUpload, cloud } = getPluginsStart();
const { data, maps, embeddable, discover, share, security, fileUpload, cloud } = getPluginsStart();
const services = {
data,
maps,
embeddable,
discover,
share,
security,
fileUpload,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ export const IndexDataVisualizer: FC<{ additionalLinks: ResultLink[] }> = ({ add
data,
maps,
embeddable,
discover,
share,
security,
fileUpload,
Expand All @@ -279,6 +280,7 @@ export const IndexDataVisualizer: FC<{ additionalLinks: ResultLink[] }> = ({ add
data,
maps,
embeddable,
discover,
share,
security,
fileUpload,
Expand Down

0 comments on commit faecb43

Please sign in to comment.