mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +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 |
|
| appId | string | The application id |
|
||||||
| reportId | string | The report id |
|
| reportId | string | The report id |
|
||||||
| hideParameters | boolean | Toggle the analytics parameters |
|
| 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`:
|
You can also hide chart parameters UI by setting the `hideParameters` to `true`:
|
||||||
|
|
||||||
|
@@ -105,11 +105,6 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</dialog>
|
</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>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -62,9 +62,6 @@ export class AnalyticsReportParametersComponent implements OnInit, OnChanges, On
|
|||||||
@Input()
|
@Input()
|
||||||
hideComponent: boolean = false;
|
hideComponent: boolean = false;
|
||||||
|
|
||||||
@Input()
|
|
||||||
debug: boolean = false;
|
|
||||||
|
|
||||||
@Output()
|
@Output()
|
||||||
onSuccess = new EventEmitter();
|
onSuccess = new EventEmitter();
|
||||||
|
|
||||||
|
@@ -36,9 +36,6 @@ export class AnalyticsComponent implements OnChanges {
|
|||||||
@Input()
|
@Input()
|
||||||
hideParameters: boolean = false;
|
hideParameters: boolean = false;
|
||||||
|
|
||||||
@Input()
|
|
||||||
debug: boolean = false;
|
|
||||||
|
|
||||||
@Output()
|
@Output()
|
||||||
editReport = new EventEmitter();
|
editReport = new EventEmitter();
|
||||||
|
|
||||||
|
@@ -42,10 +42,3 @@
|
|||||||
</md-grid-tile>
|
</md-grid-tile>
|
||||||
</md-grid-list>
|
</md-grid-list>
|
||||||
</div>
|
</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;
|
startDatePicker: Moment;
|
||||||
endDatePicker: Moment;
|
endDatePicker: Moment;
|
||||||
|
|
||||||
debug: boolean = false;
|
|
||||||
|
|
||||||
constructor(public dateAdapter: DateAdapter<Moment>) {
|
constructor(public dateAdapter: DateAdapter<Moment>) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user