Web: Method `hasAccessToSharedNavigationItem()` requires param #2 of type Config
This commit is contained in:
parent
e3036c41a2
commit
a88d0fe348
|
@ -246,7 +246,7 @@ class Web extends EmbeddedWeb
|
||||||
if ($type === 'dashboard-pane') {
|
if ($type === 'dashboard-pane') {
|
||||||
$panes = array();
|
$panes = array();
|
||||||
foreach ($config as $dashletName => $dashletConfig) {
|
foreach ($config as $dashletName => $dashletConfig) {
|
||||||
if ($this->hasAccessToSharedNavigationItem($dashletConfig)) {
|
if ($this->hasAccessToSharedNavigationItem($dashletConfig, $config)) {
|
||||||
// TODO: Throw ConfigurationError if pane or url is missing
|
// TODO: Throw ConfigurationError if pane or url is missing
|
||||||
$panes[$dashletConfig->pane][$dashletName] = $dashletConfig->url;
|
$panes[$dashletConfig->pane][$dashletName] = $dashletConfig->url;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue