Skip to content

Commit

Permalink
adapt new calls
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Nov 12, 2019
1 parent b944611 commit 5aede50
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import {
EuiCallOut,
} from '@elastic/eui';
import { ToastsStart, UiSettingsClientContract } from 'kibana/public';
import { toMountPoint } from '../util';

export const EMPTY_FILTER = '';

Expand Down Expand Up @@ -166,7 +167,7 @@ class TableListView extends React.Component<TableListViewProps, TableListViewSta
await this.props.deleteItems(this.state.selectedIds.map(id => itemsById[id]));
} catch (error) {
this.props.toastNotifications.addDanger({
title: (
title: toMountPoint(
<FormattedMessage
id="kibana-react.tableListView.listing.unableToDeleteDangerMessage"
defaultMessage="Unable to delete {entityName}(s)"
Expand Down

0 comments on commit 5aede50

Please sign in to comment.