[DetailPanel] add optional chaning for isUnavailableProductVisible in ShowProduct.jsx
This commit is contained in:
@@ -197,7 +197,7 @@ export default function ShowOption({
|
||||
return (
|
||||
showProductInfo &&
|
||||
productInfo &&
|
||||
(productInfo[selectedIndex].pmtSuptYn === "N" || webOSVersion < "6.0")
|
||||
(productInfo[selectedIndex]?.pmtSuptYn === "N" || webOSVersion < "6.0")
|
||||
);
|
||||
}, [showProductInfo, productInfo, webOSVersion, selectedIndex]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user