Provide debug property as public API

This commit is contained in:
mauriziovitale84 2016-10-14 16:27:05 +01:00
parent 71094181ce
commit 01404b16b4
2 changed files with 6 additions and 4 deletions

View File

@ -38,6 +38,9 @@ export class AnalyticsReportParametersComponent implements OnInit, OnChanges {
@Input()
reportId: string;
@Input()
debug: boolean = false;
@Output()
onSuccess = new EventEmitter();
@ -57,8 +60,6 @@ export class AnalyticsReportParametersComponent implements OnInit, OnChanges {
reportForm: FormGroup;
debug: boolean = false;
private dropDownSub;
private reportParamsSub;
private paramOpts;

View File

@ -35,6 +35,9 @@ export class AnalyticsComponent implements OnInit, OnChanges {
@Input()
reportId: number;
@Input()
debug: boolean = false;
@Output()
onSuccess = new EventEmitter();
@ -48,8 +51,6 @@ export class AnalyticsComponent implements OnInit, OnChanges {
reports: any[];
debug: boolean = false;
constructor(private translate: AlfrescoTranslationService,
private analyticsService: AnalyticsService) {
console.log('AnalyticsComponent');