Skip to content

Commit

Permalink
Merge pull request #1904 from candela97/fix-store-page-feature-contexts
Browse files Browse the repository at this point in the history
Fix missing features on some store pages
  • Loading branch information
tfedor authored Apr 13, 2024
2 parents 301be89 + 5bc2993 commit ceb6ab3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
7 changes: 3 additions & 4 deletions src/js/Content/Features/Store/AgeCheck/CAgecheck.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import {Context, ContextType} from "../../../modulesContent";
import {ContextType} from "../../../modulesContent";
import {CStoreBase} from "../Common/CStoreBase";
import FSkipAgecheck from "../../Common/FSkipAgecheck";
import FFocusSearch from "../../Common/FFocusSearch";

export class CAgeCheck extends Context {
export class CAgeCheck extends CStoreBase {

constructor() {

super(ContextType.AGECHECK, [
FSkipAgecheck,
FFocusSearch,
]);
}
}
5 changes: 3 additions & 2 deletions src/js/Content/Features/Store/Cart/CCart.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import {Context, ContextType} from "../../../modulesContent";
import {ContextType} from "../../../modulesContent";
import {CStoreBase} from "../Common/CStoreBase";
import FCartHistoryLink from "./FCartHistoryLink";

export class CCart extends Context {
export class CCart extends CStoreBase {

constructor() {

Expand Down
5 changes: 3 additions & 2 deletions src/js/Content/Features/Store/Funds/CFunds.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import {Context, ContextType} from "../../../modulesContent";
import {ContextType} from "../../../modulesContent";
import {CStoreBase} from "../Common/CStoreBase";
import FCustomGiftcardAndWallet from "./FCustomGiftcardAndWallet";

export class CFunds extends Context {
export class CFunds extends CStoreBase {

constructor() {

Expand Down
9 changes: 3 additions & 6 deletions src/js/Content/Features/Store/RegisterKey/CRegisterKey.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
import {Context, ContextType} from "../../../modulesContent";
import FKeepSSACheckboxState from "../../Common/FKeepSSACheckboxState";
import FFocusSearch from "../../Common/FFocusSearch";
import {ContextType} from "../../../modulesContent";
import {CStoreBase} from "../Common/CStoreBase";
import FMultiProductKeys from "./FMultiProductKeys";

export class CRegisterKey extends Context {
export class CRegisterKey extends CStoreBase {

constructor() {

super(ContextType.REGISTER_KEY, [
FKeepSSACheckboxState,
FFocusSearch,
FMultiProductKeys,
]);
}
Expand Down

0 comments on commit ceb6ab3

Please sign in to comment.