Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Commit

Permalink
fix(template-list): regression fix for mini version
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyundai committed Jul 2, 2023
1 parent c0078c7 commit b35482b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion express/blocks/template-list/template-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -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])) {
Expand Down

0 comments on commit b35482b

Please sign in to comment.