[PlayerPanel] youmaylike detailPage onClick
This commit is contained in:
@@ -92,7 +92,7 @@ export const getSystemSettings = (
|
||||
{ onSuccess, onFailure, onComplete }
|
||||
) => {
|
||||
if (
|
||||
typeof window === "object" && // 브라우저인지
|
||||
typeof window === "object" &&
|
||||
window.PalmSystem &&
|
||||
process.env.REACT_APP_MODE !== "DEBUG"
|
||||
) {
|
||||
|
||||
@@ -138,6 +138,7 @@ export default function TabContainer({
|
||||
<YouMayLikeContents
|
||||
shopNowInfo={shopNowInfo}
|
||||
handleItemFocus={_handleItemFocus}
|
||||
playListInfo={playListInfo && playListInfo[selectedIndex]}
|
||||
/>
|
||||
)}
|
||||
</Container>
|
||||
|
||||
@@ -9,7 +9,11 @@ import { LOG_MENU, panel_names } from "../../../../utils/Config";
|
||||
import { $L } from "../../../../utils/helperMethods";
|
||||
import css from "./YouMayLikeContents.module.less";
|
||||
|
||||
export default function YouMayLikeContents({ shopNowInfo, handleItemFocus }) {
|
||||
export default function YouMayLikeContents({
|
||||
shopNowInfo,
|
||||
handleItemFocus,
|
||||
playListInfo,
|
||||
}) {
|
||||
const dispatch = useDispatch();
|
||||
const [height, setHeight] = useState(236);
|
||||
const youmaylikeInfos = useSelector((state) => state.main.youmaylikeInfos);
|
||||
@@ -45,8 +49,12 @@ export default function YouMayLikeContents({ shopNowInfo, handleItemFocus }) {
|
||||
pushPanel({
|
||||
name: panel_names.DETAIL_PANEL,
|
||||
panelInfo: {
|
||||
showNm: playListInfo?.showNm,
|
||||
showId: playListInfo?.showId,
|
||||
liveFlag: playListInfo?.liveFlag,
|
||||
patnrId,
|
||||
prdtId,
|
||||
launchedFromPlayer: true,
|
||||
},
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user