Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Mar 17, 2020
1 parent 06ecca9 commit a836b81
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions x-pack/plugins/reporting/public/components/report_listing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export interface Job {
max_attempts: number;
csv_contains_formulas: boolean;
warnings: string[];
is_deleting: boolean;
}

export interface Props {
Expand Down Expand Up @@ -390,7 +389,6 @@ class ReportListingUi extends Component<Props, State> {
const performDelete = async () => {
for (const record of selectedJobs) {
try {
this.setState(current => ({ ...current, is_deleting: true }));
await this.props.apiClient.deleteReport(record.id);
this.removeRecord(record);
this.props.toasts.addSuccess(
Expand Down Expand Up @@ -488,7 +486,6 @@ class ReportListingUi extends Component<Props, State> {
max_attempts: source.max_attempts,
csv_contains_formulas: get(source, 'output.csv_contains_formulas'),
warnings: source.output ? source.output.warnings : undefined,
is_deleting: false,
};
}
),
Expand Down

0 comments on commit a836b81

Please sign in to comment.