Skip to content

Commit a202628

Browse files
author
drbgfc
committed
Make component variables public that are used in templates
-Note: Will have to port this to master for next release. Required for aot compilation and all future versions of angular. see angular/angular-cli#5621
1 parent 9737d07 commit a202628

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/app/sandbox-ccda-component/sandbox-ccda.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ const scorecard_url = environment.scorecard_url;
1111
templateUrl: 'sandbox-ccda.component.html'
1212
})
1313
export class SandboxCCDAComponent implements OnInit {
14-
private scorecard_url: string;
15-
14+
public scorecard_url: string;
15+
1616
constructor() {
1717
this.scorecard_url = scorecard_url;
1818
}

src/app/sandbox-fhir-component/sandbox-fhir.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ const fhir_inferno_data_url = environment.fhir_inferno_data_url;
1212
templateUrl: './sandbox-fhir.component.html'
1313
})
1414
export class SandboxFhirComponent implements OnInit {
15-
private fhir_server_url: string;
16-
private fhir_query_url: string;
17-
private fhir_conformance_url: string;
18-
private fhir_bulk_data_url: string;
19-
private fhir_inferno_data_url: string;
15+
public fhir_server_url: string;
16+
public fhir_query_url: string;
17+
public fhir_conformance_url: string;
18+
public fhir_bulk_data_url: string;
19+
public fhir_inferno_data_url: string;
2020

2121
constructor() {
2222
this.fhir_server_url = fhir_server_url;

0 commit comments

Comments
 (0)