diff --git a/core/modules/views/views_ui/lib/Drupal/views_ui/ViewEditFormController.php b/core/modules/views/views_ui/lib/Drupal/views_ui/ViewEditFormController.php index 87f433f..0f000fc 100644 --- a/core/modules/views/views_ui/lib/Drupal/views_ui/ViewEditFormController.php +++ b/core/modules/views/views_ui/lib/Drupal/views_ui/ViewEditFormController.php @@ -378,8 +378,9 @@ public function getDisplayDetails($view, $display) { "#suffix" => '', ); } - // Add a link to view the page unless the view is disabled or not saved yet. - elseif ($view->get('storage')->isEnabled() && !$view->get('storage')->isNew() && $view->get('executable')->displayHandlers[$display['id']]->hasPath()) { + // Add a link to view the page unless the view is disabled or has no + // path. + elseif ($view->get('storage')->isEnabled() && $view->get('executable')->displayHandlers[$display['id']]->hasPath()) { $path = $view->get('executable')->displayHandlers[$display['id']]->getPath(); if ($path && (strpos($path, '%') === FALSE)) { $build['top']['actions']['path'] = array(