From 0b3d44b459afadbf637a5c5bc4070f4fea2b5ea9 Mon Sep 17 00:00:00 2001
From: Eric Bremner <ebremner@uwaterloo.ca>
Date: Thu, 7 Sep 2023 16:39:22 -0400
Subject: [PATCH] ISTWCMS-6546: fixing node template for comparing revisions

---
 templates/node/node.html.twig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/node/node.html.twig b/templates/node/node.html.twig
index c90421c0..1c703545 100644
--- a/templates/node/node.html.twig
+++ b/templates/node/node.html.twig
@@ -81,7 +81,7 @@
 ]
 %}
 
-{% if ical %}
+{% if ical and node_data is not empty %}
   {% set node_data = node_data | merge({'ical': ical}) %}
 {% endif %}
 
-- 
GitLab