mirror of
https://github.com/appen-isen/site-interpromo-2023.git
synced 2026-03-18 21:50:39 +01:00
fix start alert spam
This commit is contained in:
@@ -69,7 +69,9 @@ matchList.forEach(match => {
|
||||
cardHeaderPointDiv.appendChild(cardHeaderSeparator);
|
||||
cardHeaderPointDiv.appendChild(cardHeaderPointT2);
|
||||
document.getElementById("cardHeader" + match.id).appendChild(cardHeaderPointDiv);
|
||||
startMatchAlert(match);
|
||||
if(e.record.point1 === 0 && e.record.point2 === 0){
|
||||
startMatchAlert(match);
|
||||
}
|
||||
}
|
||||
//Mise à jour du statut si le match est terminé
|
||||
if (e.record.status === "finished") {
|
||||
|
||||
Reference in New Issue
Block a user