RED-1796
This commit is contained in:
parent
ac0114f5d0
commit
4f166bf38c
@ -5,6 +5,7 @@ import { DownloadControllerService } from '@redaction/red-ui-http';
|
||||
import { CircleButtonTypes, DefaultListingServices, ListingComponent, TableColumnConfig } from '@iqser/common-ui';
|
||||
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
|
||||
import { LoadingService } from '@services/loading.service';
|
||||
import { timer } from 'rxjs';
|
||||
|
||||
@Component({
|
||||
selector: 'redaction-downloads-list-screen',
|
||||
@ -35,6 +36,9 @@ export class DownloadsListScreenComponent extends ListingComponent<DownloadStatu
|
||||
|
||||
async ngOnInit() {
|
||||
this._loadingService.loadWhile(this._loadData());
|
||||
this.addSubscription = timer(0, 5000).subscribe(async () => {
|
||||
await this._loadData();
|
||||
});
|
||||
}
|
||||
|
||||
downloadItem(download: DownloadStatusWrapper) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user