Check if urls is null

Check if node.urls is null and set scope.currentUrls to null and return
This commit is contained in:
David Brendel
2020-10-18 02:18:28 +02:00
committed by Nathan Woulfe
parent f93e9e2fe0
commit 143d2e7e30

View File

@@ -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;
}