Skip to content

Commit

Permalink
feature/bundles-mooncake: move place of feature name
Browse files Browse the repository at this point in the history
  • Loading branch information
leowangchao committed Oct 21, 2024
1 parent 23a3a79 commit 2eb410e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -640,9 +640,6 @@ export interface FeatureTogglesInterface {
allPageMetaResolversEnabledInCsr?: boolean;

/**
* Enables bunles feature, which allows to group products into bundles.
*/
enableBundles?: boolean;
* When enabled, allows to provide extended formats and media queries for <picture> element if used in MediaComponent.
*
* Important: After activation default HTML element in MediaComponent will be `<img>`
Expand All @@ -669,7 +666,13 @@ export interface FeatureTogglesInterface {
* Toggle activates `@Input() elementType: 'img' | 'picture' = 'img'` in `MediaComponent`
*
*/

useExtendedMediaComponentConfiguration?: boolean;

/**
* Enables bunles feature, which allows to group products into bundles.
*/
enableBundles?: boolean;
}

export const defaultFeatureToggles: Required<FeatureTogglesInterface> = {
Expand Down Expand Up @@ -770,6 +773,6 @@ export const defaultFeatureToggles: Required<FeatureTogglesInterface> = {
enableConsecutiveCharactersPasswordRequirement: false,
enablePasswordsCannotMatchInPasswordUpdateForm: false,
allPageMetaResolversEnabledInCsr: false,
enableBundles: false,
useExtendedMediaComponentConfiguration: false,
enableBundles: false,
};
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ if (environment.cpq) {
enableConsecutiveCharactersPasswordRequirement: true,
enablePasswordsCannotMatchInPasswordUpdateForm: true,
allPageMetaResolversEnabledInCsr: true,
enableBundles: true,
useExtendedMediaComponentConfiguration: true,
enableBundles: true,
};
return appFeatureToggles;
}),
Expand Down

0 comments on commit 2eb410e

Please sign in to comment.