Allow dashboard to refresh from backend, or refresh with new data format when switching from custom to default

This commit is contained in:
Stephen Abello
2026-02-03 09:15:41 +01:00
parent 2ff183a78a
commit 73e6a0af8a
6 changed files with 190 additions and 53 deletions

View File

@@ -364,6 +364,8 @@ abstract class Dashboard
}
$oDashboard = $oLayout->Render($oPage, $aDashlets, $bEditMode, $aExtraParams);
$oDashboard->SetFile(utils::LocalPath($this->GetDefinitionFile()));
$oPage->AddUiBlock($oDashboard);
$bFromDashboardPage = isset($aExtraParams['from_dashboard_page']) ? isset($aExtraParams['from_dashboard_page']) : false;