Browse Source

Merge pull request #3769 from vvlladd28/bug/alarm-rules/type-hint

UI: Typo delete invalid alarm-type hint
pull/3772/head
Igor Kulikov 6 years ago
committed by GitHub
parent
commit
e59f1bfdfc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui-ngx/src/app/modules/home/components/profile/alarm/device-profile-alarm.component.html
  2. 1
      ui-ngx/src/assets/locale/locale.constant-en_US.json

2
ui-ngx/src/app/modules/home/components/profile/alarm/device-profile-alarm.component.html

@ -44,8 +44,6 @@
<mat-error *ngIf="alarmFormGroup.get('alarmType').hasError('unique')">
{{ 'device-profile.alarm-type-unique' | translate }}
</mat-error>
<mat-hint *ngIf="!disabled"
innerHTML="{{ 'device-profile.alarm-type-pattern-hint' | translate }}"></mat-hint>
</mat-form-field>
</div>
<mat-expansion-panel class="advanced-settings" [expanded]="false">

1
ui-ngx/src/assets/locale/locale.constant-en_US.json

@ -943,7 +943,6 @@
"alarm-type": "Alarm type",
"alarm-type-required": "Alarm type is required.",
"alarm-type-unique": "Alarm type must be unique within the device profile alarm rules.",
"alarm-type-pattern-hint": "Alarm type pattern, use <code>${metaKeyName}</code> to substitute variables from metadata",
"create-alarm-pattern": "Create <b>{{alarmType}}</b> alarm",
"create-alarm-rules": "Create alarm rules",
"no-create-alarm-rules": "No create conditions configured",

Loading…
Cancel
Save