N°3930 Fix dashlet group by preview not displaying

This commit is contained in:
Stephen Abello
2021-07-26 14:26:44 +02:00
parent 4410bf7e1f
commit bfcfcdd4cc

View File

@@ -1272,7 +1272,7 @@ abstract class DashletGroupBy extends Dashlet
$aExtraParams["surround_with_panel"] = true;
$aExtraParams["panel_title"] = Dict::S($sTitle);
$aExtraParams["panel_class"] = $sClass;
$oPanel = $oBlock->GetDisplay($oPage, $sType, array_merge($aExtraParams, $aParams));
$oPanel = $oBlock->GetDisplay($oPage, $sBlockId, array_merge($aExtraParams, $aParams));
if ($bEditMode) {
$oPanel->AddHtml('<div class="dashlet-blocker"></div>');
}