Skip to content

Commit

Permalink
fix(*): fix prod build
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Sep 1, 2017
1 parent 6e71352 commit 8f692fc
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/lib/auth/auth-form/auth-intern.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<boolean> = new EventEmitter<boolean>();

Expand All @@ -25,7 +25,7 @@ export class AuthInternComponent {
});
}

protected login(values: any) {
login(values: any) {
this.auth.login(values.username, values.password)
.subscribe(
() => {
Expand All @@ -38,7 +38,7 @@ export class AuthInternComponent {
return false;
}

protected loginAnonymous() {
loginAnonymous() {
this.auth.loginAnonymous().subscribe(() => {
this.onLogin.emit(true);
});
Expand Down
2 changes: 1 addition & 1 deletion src/lib/map/poi-button/poi-button.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion src/lib/map/user-button/user-button.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class UserButtonComponent {

constructor(
private dialog: MdDialog,
private auth: AuthService
public auth: AuthService
) {}

accountClick() {
Expand Down
4 changes: 2 additions & 2 deletions src/lib/shared/table/table.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<igo-catalog-list
igoCatalogListBinding
(select)="handleFeatureSelect($event)">
(select)="handleFeatureSelect()">
</igo-catalog-list>

0 comments on commit 8f692fc

Please sign in to comment.