[PlayerPanel] delete toUppercase()
This commit is contained in:
@@ -264,7 +264,7 @@ const PlayerPanel = ({
|
||||
}
|
||||
|
||||
const currentLiveShowInfo = liveShowInfos //
|
||||
.find(({ chanId }) => panelInfo?.chanId === chanId.toUpperCase());
|
||||
.find(({ chanId }) => panelInfo?.chanId === chanId);
|
||||
|
||||
liveLogParamsRef.current = {
|
||||
entryMenu: entryMenuRef.current,
|
||||
@@ -937,7 +937,7 @@ const PlayerPanel = ({
|
||||
useEffect(() => {
|
||||
if (panelInfo?.shptmBanrTpNm === "LIVE" && playListInfo?.length > 0) {
|
||||
const index = playListInfo.findIndex(
|
||||
(item) => item.chanId.toUpperCase() === panelInfo.chanId
|
||||
(item) => item.chanId === panelInfo.chanId
|
||||
);
|
||||
if (index !== -1 && !isUpdate) {
|
||||
setBackupInitialIndex(index);
|
||||
|
||||
Reference in New Issue
Block a user