2 $CurrentDashboard => undef
5 my @dashboards = $m->comp("/Dashboards/Elements/ListOfDashboards");
9 Dashboards => \@dashboards,
11 CallbackName => 'MassageDashboards',
15 if (@dashboards > $limit) {
17 splice @dashboards, $limit;
20 # always include the current dashboard, even if it's not in the initial list
21 push @dashboards, $CurrentDashboard
23 && 0 == grep { $_->Id == $CurrentDashboard->Id } @dashboards;
30 my $key = sprintf 'D-%03d', $position;
33 path => 'Dashboards/' . $_->Id . '/' . $_->Name,
47 path => 'Dashboards/index.html',