Merge pull request #11992 from d2eight/actionBugFix
Fix of the action bug
This commit is contained in:
commit
7f7e824f26
@ -38,6 +38,7 @@
|
||||
[class]="{'tb-widget-actions-absolute': !(widget.showWidgetTitlePanel && !widgetComponent.widgetContext?.embedTitlePanel && (widget.showTitle||widget.hasAggregation))}"
|
||||
(mousedown)="$event.stopPropagation()">
|
||||
<button mat-icon-button *ngFor="let action of widget.customHeaderActions"
|
||||
type="button"
|
||||
[class.!hidden]="isEdit"
|
||||
(click)="action.onAction($event)"
|
||||
matTooltip="{{ action.displayName }}"
|
||||
@ -45,6 +46,7 @@
|
||||
<tb-icon>{{ action.icon }}</tb-icon>
|
||||
</button>
|
||||
<button mat-icon-button *ngFor="let action of widget.widgetActions"
|
||||
type="button"
|
||||
[class.!hidden]="isEdit || !action.show"
|
||||
(click)="action.onAction($event)"
|
||||
matTooltip="{{ action.name | translate }}"
|
||||
@ -52,6 +54,7 @@
|
||||
<tb-icon>{{ action.icon }}</tb-icon>
|
||||
</button>
|
||||
<button mat-icon-button
|
||||
type="button"
|
||||
[class.!hidden]="isEdit || !widget.enableFullscreen"
|
||||
(click)="$event.stopPropagation(); widget.isFullscreen = !widget.isFullscreen; updateEditWidgetActionsTooltipState()"
|
||||
matTooltip="{{(widget.isFullscreen ? 'fullscreen.exit' : 'fullscreen.expand') | translate}}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user