Web: Method `hasAccessToSharedNavigationItem()` requires param #2 of type Config

This commit is contained in:
Sukhwinder Dhillon 2023-08-15 16:24:47 +02:00 committed by raviks789
parent e3036c41a2
commit a88d0fe348
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ class Web extends EmbeddedWeb
if ($type === 'dashboard-pane') {
$panes = array();
foreach ($config as $dashletName => $dashletConfig) {
if ($this->hasAccessToSharedNavigationItem($dashletConfig)) {
if ($this->hasAccessToSharedNavigationItem($dashletConfig, $config)) {
// TODO: Throw ConfigurationError if pane or url is missing
$panes[$dashletConfig->pane][$dashletName] = $dashletConfig->url;
}