File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import {
22 ExternalOfferFullDescription ,
3- ExternalOfferFullDescriptionProps
3+ ExternalOfferFullDescriptionProps ,
4+ isBundle
45} from "@bosonprotocol/react-kit" ;
56import { useConfigContext } from "components/config/ConfigContext" ;
67import { MODAL_TYPES } from "components/modal/ModalComponents" ;
@@ -56,7 +57,11 @@ export const OfferFullDescription: React.FC<OfferFullDescriptionProps> = (
5657 includeOverviewTab
5758 imagesToShow = { 3 }
5859 includeGeneralProductDataTab = { false }
59- defaultSelectedOfferTabsIdTab = "physical-product-data"
60+ defaultSelectedOfferTabsIdTab = {
61+ props . offer && isBundle ( props . offer )
62+ ? "overview"
63+ : "physical-product-data"
64+ } // LLX: if bundle, use "overview" instead
6065 withFullViewportWidth = { true }
6166 onExchangePolicyClick = { ( { exchangePolicyCheckResult } ) =>
6267 showModal ( MODAL_TYPES . EXCHANGE_POLICY_DETAILS , {
You can’t perform that action at this time.
0 commit comments