Merge branch 'develop' of gitlab.t-win.kr:ifheone/shoptime into develop
This commit is contained in:
@@ -192,10 +192,13 @@ export default function DetailPanel({ panelInfo, isOnTop, spotlightId }) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const onClick = useCallback(
|
const onClick = useCallback(
|
||||||
(ev) => {
|
(isCancelClick) => (ev) => {
|
||||||
dispatch(finishVideoPreview());
|
dispatch(finishVideoPreview());
|
||||||
dispatch(popPanel(panel_names.DETAIL_PANEL));
|
dispatch(popPanel(panel_names.DETAIL_PANEL));
|
||||||
|
|
||||||
|
if (isCancelClick) {
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
[dispatch]
|
[dispatch]
|
||||||
);
|
);
|
||||||
@@ -387,7 +390,7 @@ export default function DetailPanel({ panelInfo, isOnTop, spotlightId }) {
|
|||||||
<TPanel
|
<TPanel
|
||||||
isTabActivated={false}
|
isTabActivated={false}
|
||||||
className={css.detailPanelWrap}
|
className={css.detailPanelWrap}
|
||||||
handleCancel={onClick}
|
handleCancel={onClick(true)}
|
||||||
spotlightId={spotlightId}
|
spotlightId={spotlightId}
|
||||||
>
|
>
|
||||||
<THeader
|
<THeader
|
||||||
@@ -398,7 +401,7 @@ export default function DetailPanel({ panelInfo, isOnTop, spotlightId }) {
|
|||||||
(panelInfo?.type === "theme" && themeData?.themeInfo[0]?.curationNm)
|
(panelInfo?.type === "theme" && themeData?.themeInfo[0]?.curationNm)
|
||||||
}
|
}
|
||||||
onBackButton
|
onBackButton
|
||||||
onClick={onClick}
|
onClick={onClick(false)}
|
||||||
spotlightDisabled={isLoading}
|
spotlightDisabled={isLoading}
|
||||||
onSpotlightUp={onSpotlightUpTButton}
|
onSpotlightUp={onSpotlightUpTButton}
|
||||||
onSpotlightLeft={onSpotlightUpTButton}
|
onSpotlightLeft={onSpotlightUpTButton}
|
||||||
|
|||||||
Reference in New Issue
Block a user