mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
remove debug option (#2211)
This commit is contained in:
committed by
Mario Romano
parent
56e65cd652
commit
95a881b87a
@@ -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`:
|
||||
|
||||
|
@@ -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>
|
||||
|
@@ -62,9 +62,6 @@ export class AnalyticsReportParametersComponent implements OnInit, OnChanges, On
|
||||
@Input()
|
||||
hideComponent: boolean = false;
|
||||
|
||||
@Input()
|
||||
debug: boolean = false;
|
||||
|
||||
@Output()
|
||||
onSuccess = new EventEmitter();
|
||||
|
||||
|
@@ -36,9 +36,6 @@ export class AnalyticsComponent implements OnChanges {
|
||||
@Input()
|
||||
hideParameters: boolean = false;
|
||||
|
||||
@Input()
|
||||
debug: boolean = false;
|
||||
|
||||
@Output()
|
||||
editReport = new EventEmitter();
|
||||
|
||||
|
@@ -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>
|
||||
|
@@ -50,8 +50,6 @@ export class DateRangeWidgetComponent implements OnInit {
|
||||
startDatePicker: Moment;
|
||||
endDatePicker: Moment;
|
||||
|
||||
debug: boolean = false;
|
||||
|
||||
constructor(public dateAdapter: DateAdapter<Moment>) {
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user