Browse Source
Merge pull request #13525 from ArtemDzhereleiko/AD/bug-fix/widget-header-action/custom-btn-style-edit
Fixed advanced button style on edit action
pull/13547/head
Igor Kulikov
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
ui-ngx/src/app/modules/home/components/widget/action/widget-action-dialog.component.ts
|
|
|
@ -146,6 +146,7 @@ export class WidgetActionDialogComponent extends DialogComponent<WidgetActionDia |
|
|
|
if (this.widgetActionFormGroup.get('actionSourceId').value === 'headerButton') { |
|
|
|
this.widgetActionFormGroup.get('buttonType').enable({emitEvent: false}); |
|
|
|
this.widgetActionFormGroup.get('buttonColor').enable({emitEvent: false}); |
|
|
|
this.widgetActionFormGroup.get('customButtonStyle').enable({emitEvent: false}); |
|
|
|
this.widgetHeaderButtonValidators(true); |
|
|
|
} |
|
|
|
this.widgetActionFormGroup.get('actionSourceId').valueChanges.pipe( |
|
|
|
|