Skip to content
Snippets Groups Projects

Check whether the view entity is new before trying to generate an url

1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -560,7 +560,9 @@ class DataExport extends RestExport {
}
if ($plugin = $clone->display_handler->getPlugin('style')) {
$plugin->attachTo($build, $display_id, $clone->getUrl(), $title);
if (!$clone->storage->isNew()) {
$plugin->attachTo($build, $display_id, $clone->getUrl(), $title);
}
foreach ($clone->feedIcons as $feed_icon) {
$this->view->feedIcons[] = $feed_icon;
}
Loading