[PlayerPanel] delete toUppercase()

This commit is contained in:
고동영
2024-07-17 17:07:17 +09:00
parent 34fd937449
commit ce359cc506

View File

@@ -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);