UpCommingList find error fixed...
This commit is contained in:
@@ -178,9 +178,11 @@ export default memo(function UpComingList({
|
|||||||
const { hstNm, showId, showNm, strtDt, patncNm, lgCatNm, brndNm } =
|
const { hstNm, showId, showNm, strtDt, patncNm, lgCatNm, brndNm } =
|
||||||
brandLiveChannelUpcoming[index];
|
brandLiveChannelUpcoming[index];
|
||||||
|
|
||||||
const selectedAlertShow = alertShows //
|
const selectedAlertShow = Array.isArray(alertShows)
|
||||||
.find((show) => show?.showId === showId && show?.strtDt === strtDt);
|
? alertShows.find(
|
||||||
|
(show) => show?.showId === showId && show?.strtDt === strtDt
|
||||||
|
)
|
||||||
|
: null;
|
||||||
const alamDispFlag = selectedAlertShow?.alamDispFlag;
|
const alamDispFlag = selectedAlertShow?.alamDispFlag;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user