Commit 3639d280 authored by Scott Alan Henry's avatar Scott Alan Henry Committed by Damien McKenna
Browse files

Issue #3261478 by scottalan, DamienMcKenna: Notice: Undefined index: #node.

parent bc1f4ff3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -379,8 +379,6 @@ function gatsby_entity_view(array &$build, EntityInterface $entity, EntityViewDi

    // Render the preview for this entity
    $gatsby_url = preg_replace('/\/$/', '', $server_url) . \Drupal::service('gatsby.path_mapping')->getPath($entity);

    $build = [];
    $build['gatsby_iframe_preview'] = [
      '#type' => 'inline_template',
      '#template' => '<div class="gatsby-iframe-container"><iframe class="gatsby-iframe" src="{{ url }}"></iframe></div>',