Fix dashboard edit defaults (#7340)

* Fix dashboard edit defaults

* Update app_defaults.php

* Update config.php
This commit is contained in:
Alex
2025-03-27 14:41:38 -07:00
committed by GitHub
parent 00c6befb70
commit c305685d23
24 changed files with 351 additions and 155 deletions

View File

@@ -54,10 +54,10 @@ if ($domains_processed == 1) {
$array['dashboard'][$x]['dashboard_uuid'] = $row['dashboard_uuid'];
$array['dashboard'][$x]['dashboard_name'] = $row['dashboard_name'];
$array['dashboard'][$x]['dashboard_path'] = $row['dashboard_path'];
$array['dashboard'][$x]['dashboard_chart_type'] = $row['dashboard_chart_type'] ?? "doughnut";
$array['dashboard'][$x]['dashboard_chart_type'] = $row['dashboard_chart_type'];
$array['dashboard'][$x]['dashboard_column_span'] = $row['dashboard_column_span'] ?? 1;
$array['dashboard'][$x]['dashboard_row_span'] = $row['dashboard_row_span'] ?? 2;
$array['dashboard'][$x]['dashboard_details_state'] = $row['dashboard_details_state'] ?? "expanded";
$array['dashboard'][$x]['dashboard_row_span'] = $row['dashboard_row_span'] ?? 1;
$array['dashboard'][$x]['dashboard_details_state'] = $row['dashboard_details_state'];
$array['dashboard'][$x]['dashboard_order'] = $row['dashboard_order'];
$array['dashboard'][$x]['dashboard_enabled'] = $row['dashboard_enabled'];
$array['dashboard'][$x]['dashboard_description'] = $row['dashboard_description'];