From 62749ac19136cf17612ec3ff04b180cc4e77d574 Mon Sep 17 00:00:00 2001 From: Mathieu De Keyzer Date: Tue, 2 Jan 2024 15:19:49 +0100 Subject: [PATCH] fix(demo/structure): get default environment for section (#709) --- demo/skeleton/template_ems/dashboard/sitemap.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/skeleton/template_ems/dashboard/sitemap.twig b/demo/skeleton/template_ems/dashboard/sitemap.twig index 78ad4e369..ab2ffed08 100644 --- a/demo/skeleton/template_ems/dashboard/sitemap.twig +++ b/demo/skeleton/template_ems/dashboard/sitemap.twig @@ -10,7 +10,7 @@ {% set locale = app.request.query.get('locale', locales|first) %} {% set sections = { - "index": 'preview'|emsco_get_environment.alias, + "index": 'section'|emsco_get_content_type.environment.alias, "size": 10, "body": { "_source": ['label', 'structure'],