Skip to content

Commit

Permalink
fix: add support for CMS component "Product List (Filter)" - use corr…
Browse files Browse the repository at this point in the history
…ect scope configuration (#755)
  • Loading branch information
shauke authored Jun 30, 2021
1 parent 4449814 commit 1fa5e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/facades/cms.facade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class CMSFacade {
id = scope ? `${id}@${scope}` : id;
id = amount ? `${id}@${amount}` : id;

if (categoryId && scope !== 'Global') {
if (categoryId && scope !== 'GlobalScope') {
searchParameter.category = [CategoryHelper.getCategoryPath(categoryId)];
}

Expand Down

0 comments on commit 1fa5e02

Please sign in to comment.