Skip to content

Commit

Permalink
Correct loop condition for replication tasks
Browse files Browse the repository at this point in the history
Signed-off-by: AllForNothing <[email protected]>
  • Loading branch information
AllForNothing committed Nov 13, 2023
1 parent 219e4ba commit b445dea
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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 b445dea

Please sign in to comment.