Open-source IoT Platform - Device management, data collection, processing and visualization.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
740 B

<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<div class="mat-content mat-padding flex flex-col">
<mat-form-field appearance="outline" subscriptSizing="dynamic">
<mat-label>{{'dashboard.select-dashboard' | translate}}</mat-label>
<mat-select matInput [(ngModel)]="dashboardId"
(ngModelChange)="dashboardSelected(dashboardId)">
@for (dashboard of dashboards$ | async; track dashboard) {
<mat-option [value]="dashboard.id.id">
{{ dashboard.title | customTranslate }}
</mat-option>
}
</mat-select>
</mat-form-field>
</div>