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 cfcf620aced7..2f78f307d165 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 @@ -515,7 +515,6 @@ export class SavedObjectsTable extends Component savedObjectsClient.delete(object.type, object.id, { force: true }) ); - await Promise.all(deletes); // Unset this diff --git a/src/plugins/vis_augmenter/public/utils/utils.ts b/src/plugins/vis_augmenter/public/utils/utils.ts index 58a68bf49acf..19dd6f7e4d9e 100644 --- a/src/plugins/vis_augmenter/public/utils/utils.ts +++ b/src/plugins/vis_augmenter/public/utils/utils.ts @@ -112,7 +112,6 @@ export const buildPipelineFromAugmentVisSavedObjs = (objs: ISavedAugmentVis[]): * errors found in the set of VisLayers. If no errors, returns undefined. */ export const getAnyErrors = (visLayers: VisLayer[], visTitle: string): Error | undefined => { - // TODO: filter out deleted errors. we won't show them, but rather suppress it const visLayersWithErrors = visLayers.filter((visLayer) => isVisLayerWithError(visLayer)); if (!isEmpty(visLayersWithErrors)) { // Aggregate by unique plugin resource type