Browse Source

Merge pull request #10262 from vvlladd28/bug/widget-action/required-whitespace

Space before the required mark has been removed in widget action
pull/10271/head
Igor Kulikov 3 years ago
committed by GitHub
parent
commit
6a8ed589a2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/widget-action.component.html

6
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/widget-action.component.html

@ -45,8 +45,10 @@
widgetActionFormGroup.get('type').value === widgetActionType.openDashboard ?
widgetActionFormGroup.get('type').value : ''">
<div class="tb-form-row">
<div class="fixed-title-width">{{ 'widget-action.target-dashboard-state' | translate }}
{{widgetActionFormGroup.get('type').value === widgetActionType.openDashboardState ? '*' : ''}}</div>
<div class="fixed-title-width">
<span>{{ 'widget-action.target-dashboard-state' | translate }}</span>
<span *ngIf="widgetActionFormGroup.get('type').value === widgetActionType.openDashboardState">*</span>
</div>
<mat-form-field fxFlex appearance="outline" subscriptSizing="dynamic"
[class.tb-suffix-absolute]="!actionTypeFormGroup.get('targetDashboardStateId').value">
<input matInput type="text" placeholder="{{ 'widget-action.target-dashboard-state' | translate }}"

Loading…
Cancel
Save