Browse Source
Merge pull request #7903 from ArtemDzhereleiko/AD/bug-fix/gap-translation
Hotfix added gap for widget setting mobile mod and fix translation
pull/8010/head
Igor Kulikov
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
ui-ngx/src/app/modules/home/components/widget/data-keys.component.ts
-
ui-ngx/src/app/modules/home/components/widget/widget-config.component.html
|
|
|
@ -250,7 +250,7 @@ export class DataKeysComponent implements ControlValueAccessor, OnInit, AfterVie |
|
|
|
this.secondaryPlaceholder = '+' + this.translate.instant('datakey.latest-key-function'); |
|
|
|
} else if (this.widgetType === widgetType.alarm) { |
|
|
|
this.placeholder = this.translate.instant('datakey.alarm-key-functions'); |
|
|
|
this.secondaryPlaceholder = '+' + this.translate.instant('alarm-key-function'); |
|
|
|
this.secondaryPlaceholder = '+' + this.translate.instant('datakey.alarm-key-function'); |
|
|
|
} else { |
|
|
|
this.placeholder = this.translate.instant('datakey.timeseries-key-functions'); |
|
|
|
this.secondaryPlaceholder = '+' + this.translate.instant('datakey.timeseries-key-function'); |
|
|
|
|
|
|
|
@ -488,7 +488,7 @@ |
|
|
|
<legend class="group-title" translate>widget-config.mobile-mode-settings</legend> |
|
|
|
<mat-expansion-panel class="tb-settings"> |
|
|
|
<mat-expansion-panel-header> |
|
|
|
<mat-panel-title> |
|
|
|
<mat-panel-title fxLayout.xs="column" fxLayout="row" fxLayoutGap="8px"> |
|
|
|
<mat-slide-toggle formControlName="mobileHide" (click)="$event.stopPropagation()" fxLayoutAlign="center"> |
|
|
|
{{ 'widget-config.mobile-hide' | translate }} |
|
|
|
</mat-slide-toggle> |
|
|
|
|