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
|
```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": {
|
||||||
|
@ -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 => {
|
||||||
|
Loading…
Reference in New Issue
Block a user