remove debug option (#2211)

This commit is contained in:
Eugenio Romano
2017-08-14 16:08:10 +01:00
committed by Mario Romano
parent 56e65cd652
commit 95a881b87a
6 changed files with 0 additions and 21 deletions

View File

@@ -81,7 +81,6 @@ The component shows the charts related to the reportId passed as input
| appId | string | The application id |
| reportId | string | The report id |
| hideParameters | boolean | Toggle the analytics parameters |
| debug | boolean | Toggle debug mode, outputs the Form values in the console log if enabled. |
You can also hide chart parameters UI by setting the `hideParameters` to `true`:

View File

@@ -105,11 +105,6 @@
</button>
</div>
</dialog>
<div *ngIf="debug">
<p>ReportForm valid : {{ reportForm.valid }}</p>
<p>ReportForm status : {{ reportForm.errors | json }}</p>
<p>ReportForm FormGroup valid : {{reportForm && reportForm.controls.dateRange.valid | json }}</p>
</div>
</form>
</div>
</div>

View File

@@ -62,9 +62,6 @@ export class AnalyticsReportParametersComponent implements OnInit, OnChanges, On
@Input()
hideComponent: boolean = false;
@Input()
debug: boolean = false;
@Output()
onSuccess = new EventEmitter();

View File

@@ -36,9 +36,6 @@ export class AnalyticsComponent implements OnChanges {
@Input()
hideParameters: boolean = false;
@Input()
debug: boolean = false;
@Output()
editReport = new EventEmitter();

View File

@@ -42,10 +42,3 @@
</md-grid-tile>
</md-grid-list>
</div>
<div *ngIf="debug">
<p>FormGroup : {{dateRange && dateRange.value | json }}</p>
<p>FormGroup valid : {{dateRange && dateRange.valid }}</p>
<p>FormGroup status : {{dateRange && dateRange.errors | json }}</p>
<p>FormGroup start status : {{dateRange && dateRange.controls.startDate && dateRange.controls.startDate.errors | json }}</p>
<p>FormGroup end status: {{dateRange && dateRange.controls.endDate.errors | json }}</p>
</div>

View File

@@ -50,8 +50,6 @@ export class DateRangeWidgetComponent implements OnInit {
startDatePicker: Moment;
endDatePicker: Moment;
debug: boolean = false;
constructor(public dateAdapter: DateAdapter<Moment>) {
}