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
{
"name": "harbor",
"version": "2.9.0",
"version": "2.10.0",
"description": "Harbor UI with Clarity",
"angular-cli": {},
"scripts": {

View File

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