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 <sshijun@vmware.com>
  • Loading branch information
AllForNothing authored and AllForNothing committed Nov 15, 2023
1 parent 3f6c029 commit b0e6399
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, {

Check warning on line 256 in src/portal/src/app/base/left-side-nav/replication/replication/replication-tasks/replication-tasks.component.ts

View check run for this annotation

Codecov / codecov/patch

src/portal/src/app/base/left-side-nav/replication/replication/replication-tasks/replication-tasks.component.ts#L255-L256

Added lines #L255 - L256 were not covered by tests
page: {},
});
}, REFRESH_TIME_DIFFERENCE);
}
},
error => {
Expand Down

0 comments on commit b0e6399

Please sign in to comment.