diff --git a/src/ui_ng/lib/src/list-replication-rule/list-replication-rule.component.ts b/src/ui_ng/lib/src/list-replication-rule/list-replication-rule.component.ts index e5e49a266..4c73ba74f 100644 --- a/src/ui_ng/lib/src/list-replication-rule/list-replication-rule.component.ts +++ b/src/ui_ng/lib/src/list-replication-rule/list-replication-rule.component.ts @@ -135,14 +135,9 @@ export class ListReplicationRuleComponent implements OnInit, OnChanges { .getReplicationRules(this.projectId, ruleName)) .then(rules => { this.rules = rules || []; - if (this.rules && this.rules.length > 0) { - this.selectedId = this.rules[0].id || ''; - this.selectOne.emit(this.rules[0]); - } else { - this.hideJobs.emit(); - } + // job list hidden + this.hideJobs.emit(); this.changedRules = this.rules; - this.selectedRow = this.changedRules[0]; this.loading = false; } ).catch(error => { diff --git a/src/ui_ng/lib/src/replication/replication.component.html.ts b/src/ui_ng/lib/src/replication/replication.component.html.ts index bd1deaa84..880c8e12c 100644 --- a/src/ui_ng/lib/src/replication/replication.component.html.ts +++ b/src/ui_ng/lib/src/replication/replication.component.html.ts @@ -13,7 +13,7 @@ export const REPLICATION_TEMPLATE: string = `