Skip to content

Commit 7a08dbe

Browse files
committed
Optimized PDF Report Generation
1 parent eb675f2 commit 7a08dbe

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11

22
# UTMStack 10.5.7 Release Notes
33
## Bugfix
4-
- Fixed the dashboard overview save to pdf operation.
4+
- Fixed the dashboard overview save to pdf operation.
5+
# UTMStack 10.5.8 Release Notes
6+
## Bugfix
7+
- Fixed table display issue in dashboard PDF export by adjusting height for print layout.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@media print {
2+
.h-100 {
3+
height: auto !important;
4+
}
5+
}

frontend/src/app/graphic-builder/shared/components/viewer/table-view/table-view.component.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ export class TableViewComponent implements OnInit, AfterViewInit, OnChanges {
7979
}
8080

8181
ngOnInit() {
82-
this.runVisualization();
8382
this.defaultTime = resolveDefaultVisualizationTime(this.visualization);
8483
this.runVisualizationBehavior.$run.subscribe(id => {
8584
if (id && this.chartId === id) {
@@ -95,6 +94,10 @@ export class TableViewComponent implements OnInit, AfterViewInit, OnChanges {
9594
});
9695
}
9796
});
97+
98+
if (!this.defaultTime) {
99+
this.runVisualization();
100+
}
98101
}
99102

100103
ngOnChanges(changes: SimpleChanges) {

version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 10.5.7
1+
version: 10.5.8

0 commit comments

Comments
 (0)