Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Ohlsen <[email protected]>
  • Loading branch information
ohltyler committed May 24, 2023
1 parent a6ac511 commit b5d32a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,6 @@ export class SavedObjectsTable extends Component<SavedObjectsTableProps, SavedOb
const deletes = objects.savedObjects.map((object) =>
savedObjectsClient.delete(object.type, object.id, { force: true })
);

await Promise.all(deletes);

// Unset this
Expand Down
1 change: 0 additions & 1 deletion src/plugins/vis_augmenter/public/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5d32a4

Please sign in to comment.