[PlayerPanel] LiveChannelContents.tsx, add props(chanId) to updatePanel
This commit is contained in:
@@ -34,6 +34,7 @@ export default function LiveChannelContents({
|
|||||||
const renderItem = useCallback(
|
const renderItem = useCallback(
|
||||||
({ index, ...rest }) => {
|
({ index, ...rest }) => {
|
||||||
const {
|
const {
|
||||||
|
chanId,
|
||||||
dfltThumbnailImgPath,
|
dfltThumbnailImgPath,
|
||||||
patncLogoPath,
|
patncLogoPath,
|
||||||
prdtId,
|
prdtId,
|
||||||
@@ -54,7 +55,7 @@ export default function LiveChannelContents({
|
|||||||
dispatch(
|
dispatch(
|
||||||
updatePanel({
|
updatePanel({
|
||||||
name: panel_names.PLAYER_PANEL,
|
name: panel_names.PLAYER_PANEL,
|
||||||
panelInfo: { patnrId, showId, shptmBanrTpNm: "LIVE" },
|
panelInfo: { chanId, patnrId, showId, shptmBanrTpNm: "LIVE" },
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user