Skip to content

Commit

Permalink
Correct loop condition for replication tasks (#19570)
Browse files Browse the repository at this point in the history
Signed-off-by: AllForNothing <sshijun@vmware.com>
  • Loading branch information
AllForNothing committed Nov 15, 2023
1 parent da9e263 commit 95b4032
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/portal/PACKAGE.md
@@ -1,7 +1,7 @@
```text
{
"name": "harbor",
"version": "2.9.0",
"version": "2.10.0",
"description": "Harbor UI with Clarity",
"angular-cli": {},
"scripts": {
Expand Down
Expand Up @@ -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 => {
Expand Down

0 comments on commit 95b4032

Please sign in to comment.