Correct loop condition for replication tasks (#19570)

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
Shijun Sun 2023-11-15 17:50:06 +08:00 committed by GitHub
parent da9e263ca7
commit 95b4032201
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 8 deletions

View File

@ -1,7 +1,7 @@
```text ```text
{ {
"name": "harbor", "name": "harbor",
"version": "2.9.0", "version": "2.10.0",
"description": "Harbor UI with Clarity", "description": "Harbor UI with Clarity",
"angular-cli": {}, "angular-cli": {},
"scripts": { "scripts": {

View File

@ -252,13 +252,11 @@ export class ReplicationTasksComponent implements OnInit, OnDestroy {
count > 0 || count > 0 ||
this.execution?.status === executionStatus this.execution?.status === executionStatus
) { ) {
if (!this.tasksTimeout) { this.tasksTimeout = setTimeout(() => {
this.tasksTimeout = setTimeout(() => { this.clrLoadTasks(false, {
this.clrLoadTasks(false, { page: {},
page: {}, });
}); }, REFRESH_TIME_DIFFERENCE);
}, REFRESH_TIME_DIFFERENCE);
}
} }
}, },
error => { error => {