diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx index 3daa24c37748..b3e440460428 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx @@ -637,6 +637,7 @@ describe('SavedObjectsTable', () => { { force: true } ); expect(component.state('selectedSavedObjects').length).toBe(0); + expect(notifications.toasts.addDanger).not.toHaveBeenCalled(); expect(component.state('isDeleting')).toBe(false); expect(component.state('isShowingDeleteConfirmModal')).toBe(false); }); diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx index 3824990f17f5..829c90aaa397 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx @@ -109,7 +109,7 @@ import { DataPublicPluginStart } from '../../../../../plugins/data/public'; import { DuplicateObject } from '../types'; import { formatWorkspaceIdParams } from '../../utils'; import { NavigationPublicPluginStart } from '../../../../navigation/public'; - +import { WorkspaceObject } from '../../../../workspace/public'; interface ExportAllOption { id: string; label: string;