From b35482b675f9c4e1cee527f17c1947eb1463c3c1 Mon Sep 17 00:00:00 2001 From: Qiyun Dai Date: Sun, 2 Jul 2023 11:46:44 -0500 Subject: [PATCH] fix(template-list): regression fix for mini version --- express/blocks/template-list/template-list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/express/blocks/template-list/template-list.js b/express/blocks/template-list/template-list.js index b7076137a..90c0aee14 100644 --- a/express/blocks/template-list/template-list.js +++ b/express/blocks/template-list/template-list.js @@ -1606,7 +1606,7 @@ export async function decorateTemplateList($block, props) { } } - if (placeholders['template-filter-premium']) { + if (placeholders['template-filter-premium'] && !$block.classList.contains('mini')) { document.addEventListener('linkspopulated', async (e) => { // desktop/mobile fires the same event if ($parent.contains(e.detail[0])) {