Skip to content

Commit 6a8ed58

Browse files
authored
Merge pull request thingsboard#10262 from vvlladd28/bug/widget-action/required-whitespace
Space before the required mark has been removed in widget action
2 parents 1892d5b + 0ad39c0 commit 6a8ed58

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@
4545
widgetActionFormGroup.get('type').value === widgetActionType.openDashboard ?
4646
widgetActionFormGroup.get('type').value : ''">
4747
<div class="tb-form-row">
48-
<div class="fixed-title-width">{{ 'widget-action.target-dashboard-state' | translate }}
49-
{{widgetActionFormGroup.get('type').value === widgetActionType.openDashboardState ? '*' : ''}}</div>
48+
<div class="fixed-title-width">
49+
<span>{{ 'widget-action.target-dashboard-state' | translate }}</span>
50+
<span *ngIf="widgetActionFormGroup.get('type').value === widgetActionType.openDashboardState">*</span>
51+
</div>
5052
<mat-form-field fxFlex appearance="outline" subscriptSizing="dynamic"
5153
[class.tb-suffix-absolute]="!actionTypeFormGroup.get('targetDashboardStateId').value">
5254
<input matInput type="text" placeholder="{{ 'widget-action.target-dashboard-state' | translate }}"

0 commit comments

Comments
 (0)