diff --git a/src/cotuongpc1/CoTuongPc1.js b/src/cotuongpc1/CoTuongPc1.js index edaf3c5..b1b086f 100644 --- a/src/cotuongpc1/CoTuongPc1.js +++ b/src/cotuongpc1/CoTuongPc1.js @@ -76,14 +76,14 @@ export let CoTuongPc1 = () => { } let currentRoundIndex = -1; - let currentDate = dateStringify(new Date()); - for (let r = 0; r < R; r++) { - let {startDate, endDate} = rounds[r]; - if (isDateInRange(currentDate, startDate, endDate)) { - currentRoundIndex = r; - break; - } - } + // let currentDate = dateStringify(new Date()); + // for (let r = 0; r < R; r++) { + // let {startDate, endDate} = rounds[r]; + // if (isDateInRange(currentDate, startDate, endDate)) { + // currentRoundIndex = r; + // break; + // } + // } return (
diff --git a/src/cotuongpc1/ranking-table/RankingTable.js b/src/cotuongpc1/ranking-table/RankingTable.js index ab31e28..a1c770e 100644 --- a/src/cotuongpc1/ranking-table/RankingTable.js +++ b/src/cotuongpc1/ranking-table/RankingTable.js @@ -4,9 +4,6 @@ import {TableResponsive} from '../table-responsive/TableResponsive'; import {createMatchId, getGameScore, getMatchResult, roundNameAt} from '../utils'; let isRoundReadyForRanking = (roundIndex, currentRoundIndex) => { - // No filters - return true; - if (currentRoundIndex < 0) { return true; } @@ -183,9 +180,9 @@ export let RankingTable = ({players, matches, matchesById, matchSchedules, curre return (
- {/*currentRoundIndex >= 0 && ( + {currentRoundIndex >= 0 && (

BXH tính đến vòng {roundNameAt(currentRoundIndex)} đang diễn ra

- )*/} + )}