diff --git a/src/portal/src/app/base/left-side-nav/replication/replication/create-edit-rule/create-edit-rule.component.ts b/src/portal/src/app/base/left-side-nav/replication/replication/create-edit-rule/create-edit-rule.component.ts index ae3c67707..33a29df21 100644 --- a/src/portal/src/app/base/left-side-nav/replication/replication/create-edit-rule/create-edit-rule.component.ts +++ b/src/portal/src/app/base/left-side-nav/replication/replication/create-edit-rule/create-edit-rule.component.ts @@ -136,7 +136,11 @@ export class CreateEditRuleComponent implements OnInit, OnDestroy { .pipe(finalize(() => (this.inProgress = false))) .subscribe({ next: adapter => { - this.setFilterAndTrigger(adapter); + // for push mode, if id === 0, what we get is currentRegistryInfo, and then setFilterAndTrigger(currentRegistryInfo) + // for pull mode, always setFilterAndTrigger + if ((this.isPushMode && !id) || !this.isPushMode) { + this.setFilterAndTrigger(adapter); + } if (id) { this.checkChunkOption(id, adapter); }