Skip to content

Commit

Permalink
add prop [MONET-1253] (contentful#3855)
Browse files Browse the repository at this point in the history
  • Loading branch information
cemreyuksel committed Jun 23, 2023
1 parent 96be180 commit 9e5ac56
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 11 deletions.
36 changes: 27 additions & 9 deletions apps/commercetools/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/commercetools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@commercetools/sdk-client-v2": "1.4.2",
"@contentful/app-scripts": "1.2.0",
"@contentful/app-sdk": "4.9.0",
"@contentful/ecommerce-app-base": "3.1.0",
"@contentful/ecommerce-app-base": "3.1.65",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-scripts": "4.0.3"
Expand Down
1 change: 1 addition & 0 deletions apps/commercetools/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@ init((sdk) => {
renderDialog,
isDisabled: () => false,
openDialog,
isInOrchestrationEAP: true,
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const renderComponent = (sdk: unknown, isInOrchestrationEAP?: boolean) => {
logo="some-logo.svg"
color="red"
description="App description"
isInOrchestrationEAP={isInOrchestrationEAP ?? true}
isInOrchestrationEAP={isInOrchestrationEAP ?? false}
/>
);
};
Expand Down

0 comments on commit 9e5ac56

Please sign in to comment.