2021-12-08 18:21:39 -05:00
|
|
|
<my-widget-config
|
|
|
|
[widgetComponent]="this"
|
|
|
|
addTitle="{{'New dashboard' | translate}}"
|
|
|
|
editTitle="{{'Dashboards' | translate}}"
|
|
|
|
>
|
2018-10-21 18:19:36 -04:00
|
|
|
<ng-template #widgetParamsTemplate let-widget="widget">
|
2021-12-09 16:39:48 -05:00
|
|
|
<my-field
|
|
|
|
label="{{'Trading pair' | translate}}"
|
|
|
|
[asSelect]="true"
|
|
|
|
[(value)]="widget.dimension.newData.pair"
|
|
|
|
[disabled]="isUpdating"
|
|
|
|
[selectOptions]="pairs"
|
|
|
|
></my-field>
|
|
|
|
<my-field
|
|
|
|
label="{{'Interval' | translate}}"
|
|
|
|
[asSelect]="true"
|
|
|
|
[(value)]="widget.dimension.newData.interval"
|
|
|
|
[disabled]="isUpdating"
|
|
|
|
[selectOptions]="intervals"
|
|
|
|
></my-field>
|
2018-10-21 18:19:36 -04:00
|
|
|
</ng-template>
|
2020-10-23 07:30:20 -04:00
|
|
|
</my-widget-config>
|