Browse Source
Merge pull request #15430 from mtsymbarov-del/fix/widget-header-action
Fixed show/hide of custom header actions when using function to control visibility
pull/15452/head
Vladyslav Prykhodko
6 months 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/widget.component.ts
|
|
@ -332,6 +332,7 @@ export class WidgetComponent extends PageComponent implements OnInit, OnChanges, |
|
|
if (customHeaderActions$.length) { |
|
|
if (customHeaderActions$.length) { |
|
|
forkJoin(customHeaderActions$).subscribe((customHeaderActions) => { |
|
|
forkJoin(customHeaderActions$).subscribe((customHeaderActions) => { |
|
|
this.widgetContext.customHeaderActions.push(...customHeaderActions); |
|
|
this.widgetContext.customHeaderActions.push(...customHeaderActions); |
|
|
|
|
|
this.dashboardWidget.updateParamsFromData(true); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|