Compare commits
2 Commits
4679da480c
...
882f04d893
| Author | SHA1 | Date | |
|---|---|---|---|
| 882f04d893 | |||
| da4a95e5ed |
@@ -7,7 +7,7 @@
|
||||
<div mat-dialog-content>
|
||||
<mat-form-field class="pdb-form-full-width">
|
||||
<mat-label>Name</mat-label>
|
||||
<input matInput [(ngModel)]="data.name" #name>
|
||||
<input matInput [(ngModel)]="data.name" #name focus>
|
||||
</mat-form-field>
|
||||
<mat-form-field class="pdb-form-full-width">
|
||||
<mat-label>Description</mat-label>
|
||||
|
||||
@@ -15,7 +15,7 @@ export class NewDashboardComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
window.setTimeout(() => this.nameInput.nativeElement.focus(), 0);
|
||||
//window.setTimeout(() => this.nameInput.nativeElement.focus(), 0);
|
||||
}
|
||||
|
||||
onSaveClick(): void {
|
||||
|
||||
@@ -112,6 +112,8 @@ ngAfterViewInit(): void {
|
||||
this.updateDateRange(c.dateRange, false);
|
||||
this.limitbycomponent.limitBy = c.limitBy;
|
||||
this.limitbycomponent.limit = c.limit;
|
||||
this.intervalUnit = c.intervalUnit;
|
||||
this.intervalValue = c.intervalValue;
|
||||
this.y1AxisDefinitionComponent.yAxisScale = c.y1.axisScale;
|
||||
this.y1AxisDefinitionComponent.minYValue = c.y1.rangeMin;
|
||||
this.y1AxisDefinitionComponent.maxYValue = c.y1.rangeMax;
|
||||
|
||||
Reference in New Issue
Block a user