mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-25 18:18:04 +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,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 => {
|
||||
|
Loading…
Reference in New Issue
Block a user