This commit is contained in:
Victor Marin
2025-11-05 17:19:25 +02:00
parent a3fa0f07f9
commit d1a2e705b6
@@ -27,6 +27,7 @@ import { ConditionalRenderingGroup } from '../../conditional-rendering/group/Con
import { DashboardDatasourceBehaviour } from '../../scene/DashboardDatasourceBehaviour';
import { DashboardScene } from '../../scene/DashboardScene';
import { LibraryPanelBehavior } from '../../scene/LibraryPanelBehavior';
import { PanelGroupByAction } from '../../scene/PanelGroupByAction';
import { VizPanelLinks, VizPanelLinksMenu } from '../../scene/PanelLinks';
import { panelLinksBehavior, panelMenuBehavior } from '../../scene/PanelMenuBehavior';
import { PanelNotices } from '../../scene/PanelNotices';
@@ -70,6 +71,7 @@ export function buildVizPanel(panel: PanelKind, id?: number): VizPanel {
$data: createPanelDataProvider(panel),
titleItems,
$behaviors: [],
headerActions: config.featureToggles.panelGroupBy ? [new PanelGroupByAction()] : [],
extendPanelContext: setDashboardPanelContext,
};