From 25d72af577a78681ce8d1159ff16c2803d633bd3 Mon Sep 17 00:00:00 2001 From: msagolj Date: Wed, 9 Oct 2024 19:45:24 +0200 Subject: [PATCH] m --- models/_page-metadata.json | 2 +- scripts/editor-support.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/models/_page-metadata.json b/models/_page-metadata.json index 4df3c63..64edb51 100644 --- a/models/_page-metadata.json +++ b/models/_page-metadata.json @@ -17,7 +17,7 @@ ], "filters": [ { - "id": "page", + "id": "main", "components": [ "section", "tab-section" diff --git a/scripts/editor-support.js b/scripts/editor-support.js index 6248c81..6488e7d 100644 --- a/scripts/editor-support.js +++ b/scripts/editor-support.js @@ -52,7 +52,7 @@ function setUEFilter(element, filter) { function updateUEInstrumentation() { const main = document.querySelector('main'); - setUEFilter(main, 'page'); + setUEFilter(main, 'main'); // if we are on a template page if (document.body.hasAttribute('data-aem-template')) {