From 9f136dd7f8400a9c23fcc15b7ca8e2f4a3a385a4 Mon Sep 17 00:00:00 2001 From: Ruben Bert Pingol Date: Tue, 5 Nov 2024 22:37:16 +0800 Subject: [PATCH] Layout Preview: Revert unnecessary variable --- modules/layout-renderer.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/layout-renderer.twig b/modules/layout-renderer.twig index 15c2e2bbce..e9537006cb 100644 --- a/modules/layout-renderer.twig +++ b/modules/layout-renderer.twig @@ -53,7 +53,7 @@ {% endautoescape %} {% set layoutObj = [{layoutId: layout.layoutId }] %} - {% set xlrOptions = previewOptions|merge({inPreview: true, previewTranslations}) %} + {% set xlrOptions = previewOptions|merge({inPreview: true}) %} (function($){ $(document).ready(function(){ var xiboLayoutRenderer = new XiboLayoutRenderer({{ layoutObj|json_encode()|raw }}, {{ xlrOptions|json_encode()|raw }});