diff --git a/src/portal/lib/src/create-edit-endpoint/create-edit-endpoint.component.html b/src/portal/lib/src/create-edit-endpoint/create-edit-endpoint.component.html index 9ae088dec..f252a8394 100644 --- a/src/portal/lib/src/create-edit-endpoint/create-edit-endpoint.component.html +++ b/src/portal/lib/src/create-edit-endpoint/create-edit-endpoint.component.html @@ -17,7 +17,7 @@
diff --git a/src/portal/lib/src/list-replication-rule/list-replication-rule.component.ts b/src/portal/lib/src/list-replication-rule/list-replication-rule.component.ts index 42e7623e5..e3e16ea42 100644 --- a/src/portal/lib/src/list-replication-rule/list-replication-rule.component.ts +++ b/src/portal/lib/src/list-replication-rule/list-replication-rule.component.ts @@ -146,6 +146,7 @@ export class ListReplicationRuleComponent implements OnInit, OnChanges { // job list hidden this.hideJobs.emit(); this.changedRules = this.rules; + this.loading = false; // get registry name let targetLists: ReplicationRule[] = rules; if (targetLists && targetLists.length) { @@ -163,7 +164,6 @@ export class ListReplicationRuleComponent implements OnInit, OnChanges { forkJoin(...registryList).subscribe((item) => { this.selectedRow = null; this.registryName = item.map(target => target.name); - this.loading = false; }); } }, error => { diff --git a/src/portal/lib/src/service/replication.service.ts b/src/portal/lib/src/service/replication.service.ts index 400288769..1ff09de9e 100644 --- a/src/portal/lib/src/service/replication.service.ts +++ b/src/portal/lib/src/service/replication.service.ts @@ -338,7 +338,7 @@ export class ReplicationDefaultService extends ReplicationService { return observableThrowError("Bad argument"); } - let url: string = `${this._replicateUrl}`; + let url: string = `${this._replicateUrl}/executions`; return this.http .post(url, { policy_id: ruleId }, HTTP_JSON_OPTIONS) .pipe(map(response => response)