Commit 3fb38066 authored by Serhii Shevchyk's avatar Serhii Shevchyk Committed by Erik Seifert
Browse files

Issue #3277778: A module broke existed layouts

parent 9d91ca91
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();