File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
x-pack/plugins/reporting/public/components Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff 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
5352export 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 ) ,
You can’t perform that action at this time.
0 commit comments