mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-26 02:28:06 +01:00
Correct loop condition for replication tasks (#19570)
Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
da9e263ca7
commit
95b4032201
@ -1,7 +1,7 @@
|
||||
```text
|
||||
{
|
||||
"name": "harbor",
|
||||
"version": "2.9.0",
|
||||
"version": "2.10.0",
|
||||
"description": "Harbor UI with Clarity",
|
||||
"angular-cli": {},
|
||||
"scripts": {
|
||||
|
@ -252,14 +252,12 @@ 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);
|
||||
}
|
||||
}
|
||||
},
|
||||
error => {
|
||||
this.errorHandler.error(error);
|
||||
|
Loading…
Reference in New Issue
Block a user