From 143d2e7e30ecf0537f2ccc7b539580a16690ec46 Mon Sep 17 00:00:00 2001 From: David Brendel Date: Sun, 18 Oct 2020 02:18:28 +0200 Subject: [PATCH] Check if urls is null Check if node.urls is null and set scope.currentUrls to null and return --- .../components/content/umbcontentnodeinfo.directive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbcontentnodeinfo.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbcontentnodeinfo.directive.js index 60f877d0b6..18ba264c94 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbcontentnodeinfo.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbcontentnodeinfo.directive.js @@ -313,7 +313,7 @@ function updateCurrentUrls() { // never show URLs for element types (if they happen to have been created in the content tree) - if (scope.node.isElement) { + if (scope.node.isElement || scope.node.urls === null) { scope.currentUrls = null; return; }