Skip to content

Commit

Permalink
adapt call in 7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Nov 14, 2019
1 parent 0323681 commit 7c2ec5e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import {
FieldMappingSpec,
MappingObject,
} from '../../../../../../plugins/kibana_utils/public';
import { toMountPoint } from '../../../../../../plugins/kibana_react/public';

import { findIndexPatternByTitle, getRoutes } from '../utils';
import { IndexPatternMissingIndices } from '../errors';
Expand Down Expand Up @@ -215,7 +216,7 @@ export class IndexPattern implements StaticIndexPattern {

toasts.addWarning({
title: warningTitle,
text: (
text: toMountPoint(
<div>
<p>{warningText}</p>
<EuiFlexGroup justifyContent="flexEnd" gutterSize="s">
Expand Down

0 comments on commit 7c2ec5e

Please sign in to comment.