dl screen
This commit is contained in:
parent
0369bf5577
commit
8649859060
@ -11,6 +11,8 @@ import {
|
||||
} from '@iqser/common-ui';
|
||||
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
|
||||
import { RouterHistoryService } from '@services/router-history.service';
|
||||
import { interval } from 'rxjs';
|
||||
import { switchMap } from 'rxjs/operators';
|
||||
|
||||
@Component({
|
||||
selector: 'redaction-downloads-list-screen',
|
||||
@ -43,6 +45,9 @@ export class DownloadsListScreenComponent extends ListingComponent<DownloadStatu
|
||||
) {
|
||||
super(_injector);
|
||||
this._loadingService.loadWhile(this._loadData());
|
||||
this.addSubscription = interval(5000)
|
||||
.pipe(switchMap(() => this._loadData()))
|
||||
.subscribe();
|
||||
}
|
||||
|
||||
downloadItem(download: DownloadStatus) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user