Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Keep both variations of the template part name when excluding them
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu committed Jul 17, 2023
1 parent d529103 commit c3f2935
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assets/js/blocks/mini-cart/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ addFilter(
...blockSettings,
variations: blockSettings.variations.map(
( variation: { name: string } ) => {
if ( variation.name === 'mini-cart' ) {
if (
variation.name === 'instance_mini-cart' ||
variation.name === 'mini-cart'
) {
return {
...variation,
scope: [],
Expand Down

0 comments on commit c3f2935

Please sign in to comment.