Skip to content

Commit

Permalink
Pass Dashboard arg to the component being loaded
Browse files Browse the repository at this point in the history
This allows creating portlets that can customize their behavior based on
what dashboard they are loaded on.
  • Loading branch information
bkembreeBPS committed Oct 1, 2023
1 parent 45aaf25 commit f5ddc0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/html/Dashboards/Elements/ShowPortlet/component
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ if ($m->request_path =~ m{/SelfService/}) {
% RT->Logger->warning("You may need to replace the component 'Quicksearch' in the HomepageComponents config with 'QueueList'. See the UPGRADING-4.4 document.");
% }
% } else {
% $m->comp($full_path, HasResults => $HasResults);
% $m->comp($full_path, HasResults => $HasResults, Dashboard => $Dashboard);
% }

0 comments on commit f5ddc0b

Please sign in to comment.