diff --git a/src/lib/auth/auth-form/auth-intern.component.ts b/src/lib/auth/auth-form/auth-intern.component.ts index 13cf6796b3..f35f5e28e7 100644 --- a/src/lib/auth/auth-form/auth-intern.component.ts +++ b/src/lib/auth/auth-form/auth-intern.component.ts @@ -11,7 +11,7 @@ import { AuthService } from '../shared/auth.service'; }) export class AuthInternComponent { public error: string = ''; - private form: FormGroup; + public form: FormGroup; @Output() onLogin: EventEmitter = new EventEmitter(); @@ -25,7 +25,7 @@ export class AuthInternComponent { }); } - protected login(values: any) { + login(values: any) { this.auth.login(values.username, values.password) .subscribe( () => { @@ -38,7 +38,7 @@ export class AuthInternComponent { return false; } - protected loginAnonymous() { + loginAnonymous() { this.auth.loginAnonymous().subscribe(() => { this.onLogin.emit(true); }); diff --git a/src/lib/map/poi-button/poi-button.component.ts b/src/lib/map/poi-button/poi-button.component.ts index b2046d8648..d2d6c190f5 100644 --- a/src/lib/map/poi-button/poi-button.component.ts +++ b/src/lib/map/poi-button/poi-button.component.ts @@ -77,7 +77,7 @@ export class PoiButtonComponent implements OnInit { }); } - private createPoi() { + createPoi() { const view = this.map.ol.getView(); const proj = view.getProjection().getCode(); const center: any = new ol.geom.Point(view.getCenter()).transform(proj, 'EPSG:4326'); diff --git a/src/lib/map/user-button/user-button.component.ts b/src/lib/map/user-button/user-button.component.ts index e975a8acb1..823ecb8b1a 100644 --- a/src/lib/map/user-button/user-button.component.ts +++ b/src/lib/map/user-button/user-button.component.ts @@ -34,7 +34,7 @@ export class UserButtonComponent { constructor( private dialog: MdDialog, - private auth: AuthService + public auth: AuthService ) {} accountClick() { diff --git a/src/lib/shared/table/table.component.ts b/src/lib/shared/table/table.component.ts index cf33cea7ba..d95cb10390 100644 --- a/src/lib/shared/table/table.component.ts +++ b/src/lib/shared/table/table.component.ts @@ -38,8 +38,8 @@ export class TableComponent implements OnChanges, OnInit { } private _model: TableModel; - private displayedColumns; - private dataSource: TableDataSource | null; + public displayedColumns; + public dataSource: TableDataSource | null; @ViewChild('filter') filter: ElementRef; @ViewChild(MdSort) sort: MdSort; diff --git a/src/lib/tool/tools/catalog-tool/catalog-tool.component.html b/src/lib/tool/tools/catalog-tool/catalog-tool.component.html index c1629b29e3..5abd7cfdde 100644 --- a/src/lib/tool/tools/catalog-tool/catalog-tool.component.html +++ b/src/lib/tool/tools/catalog-tool/catalog-tool.component.html @@ -1,4 +1,4 @@ + (select)="handleFeatureSelect()">