Loading src/EventSubscriber/Decorator.php +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ class Decorator implements EventSubscriberInterface { */ public function onBuildRender(SectionComponentBuildRenderArrayEvent $event) { $contexts = $event->getContexts(); if (!isset($contexts['entity'])) { if (!isset($contexts['entity']) || "dashboard" != $contexts["entity"]->getContextData()->getEntity()->getEntityTypeId()) { return; } $build = $event->getBuild(); Loading Loading
src/EventSubscriber/Decorator.php +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ class Decorator implements EventSubscriberInterface { */ public function onBuildRender(SectionComponentBuildRenderArrayEvent $event) { $contexts = $event->getContexts(); if (!isset($contexts['entity'])) { if (!isset($contexts['entity']) || "dashboard" != $contexts["entity"]->getContextData()->getEntity()->getEntityTypeId()) { return; } $build = $event->getBuild(); Loading