diff --git a/web-app/src/app/routes/monitor/monitor-data-chart/monitor-data-chart.component.html b/web-app/src/app/routes/monitor/monitor-data-chart/monitor-data-chart.component.html index e744e7afaa9..8f1c4cb7fa6 100644 --- a/web-app/src/app/routes/monitor/monitor-data-chart/monitor-data-chart.component.html +++ b/web-app/src/app/routes/monitor/monitor-data-chart/monitor-data-chart.component.html @@ -17,8 +17,7 @@ ~ under the License. --> -
- +
= 5) { - this.cardWidth = this.cardWidth + this.cardWidth; - } this.lineHistoryTheme.series = []; let valueKeyArr = Object.keys(values); for (let index = 0; index < valueKeyArr.length; index++) { diff --git a/web-app/src/app/routes/monitor/monitor-data-table/monitor-data-table.component.html b/web-app/src/app/routes/monitor/monitor-data-table/monitor-data-table.component.html index 05f4348eb1f..019ef5535a2 100644 --- a/web-app/src/app/routes/monitor/monitor-data-table/monitor-data-table.component.html +++ b/web-app/src/app/routes/monitor/monitor-data-table/monitor-data-table.component.html @@ -16,10 +16,10 @@ ~ specific language governing permissions and limitations ~ under the License. --> -
+ = 5) { - updateWidth = true; - } - } - this.valueRows.forEach(row => { - row.values.forEach((value: any) => { - if (value.origin?.length > 60) { - updateWidth = true; - } - }); - }); - if (updateWidth) { - this.cardWidth = this.cardWidth + this.cardWidth; - this.cdr.detectChanges(); } } else if (message.code !== 0) { this.notifySvc.warning(`${this.metrics}:${message.msg}`, ''); diff --git a/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html b/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html index 2dcdaa66ee0..7cf402565f0 100755 --- a/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html +++ b/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html @@ -65,6 +65,7 @@ [app]="app" >