Merge branch 'ent-8053-Header-en-public-view-dashboard-no-se-ve-correctamente-en-la-primera-carga' into 'develop'

Ent 8053 header en public view dashboard no se ve correctamente en la primera carga

See merge request artica/pandorafms!4448
This commit is contained in:
Daniel Rodriguez 2021-11-16 09:12:04 +00:00
commit 01246a7e68
1 changed files with 4 additions and 5 deletions

View File

@ -29,8 +29,6 @@
// Button for display full screen mode.
global $config;
$queryFull = [
'dashboardId' => $dashboardId,
'refr' => $refr,
@ -141,10 +139,11 @@ $publiclink['text'] .= html_print_image(
);
$publiclink['text'] .= '</a>';
// Check if it is a public dashboard.
$public_dashboard_hash = get_parameter('hash', false);
// Refresh selector time dashboards.
if (isset($config['public_dashboard']) === true
&& (bool) $config['public_dashboard'] === true
) {
if ($public_dashboard_hash !== false) {
$urlRefresh = $publicUrl;
} else {
$queryRefresh = [