Skip to content

Commit a836b81

Browse files
committed
remove unused
1 parent 06ecca9 commit a836b81

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

x-pack/plugins/reporting/public/components/report_listing.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ export interface Job {
4747
max_attempts: number;
4848
csv_contains_formulas: boolean;
4949
warnings: string[];
50-
is_deleting: boolean;
5150
}
5251

5352
export interface Props {
@@ -390,7 +389,6 @@ class ReportListingUi extends Component<Props, State> {
390389
const performDelete = async () => {
391390
for (const record of selectedJobs) {
392391
try {
393-
this.setState(current => ({ ...current, is_deleting: true }));
394392
await this.props.apiClient.deleteReport(record.id);
395393
this.removeRecord(record);
396394
this.props.toasts.addSuccess(
@@ -488,7 +486,6 @@ class ReportListingUi extends Component<Props, State> {
488486
max_attempts: source.max_attempts,
489487
csv_contains_formulas: get(source, 'output.csv_contains_formulas'),
490488
warnings: source.output ? source.output.warnings : undefined,
491-
is_deleting: false,
492489
};
493490
}
494491
),

0 commit comments

Comments
 (0)