update(Dashboard Section description): adds phrases for the description of general/custom/other sections

This commit is contained in:
SimonGschnell
2025-04-22 11:40:58 +02:00
parent 8c00158d04
commit 0c95dbad1f
4 changed files with 130 additions and 6 deletions
@@ -127,7 +127,7 @@ class DashboardLib
$emptypreset->dashboard_id = $dashboard->dashboard_id;
$emptypreset->funktion_kurzbz = $funktion_kurzbz;
$section = ($funktion_kurzbz !== null) ? $funktion_kurzbz : self::SECTION_IF_FUNKTION_KURZBZ_IS_NULL;
$emptypreset->preset = '{"' . $section . '": { "widgets" : {}}}';
$emptypreset->preset = '{"' . $section . '": { "widgets" : {}},"custom": { "widgets" : {}}}';
return $emptypreset;
}