Skip to content

Commit

Permalink
Merge pull request #13 from hktkqj/patch-1
Browse files Browse the repository at this point in the history
Update Validator.cs
  • Loading branch information
QingQiz committed May 19, 2021
2 parents 05bbc58 + ca8b22f commit 8d16859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IcpcResolver/Window/Validator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public void LoadAllEventData()
ProblemsList.Add(problem);
} else if (opType.ToString() == "delete")
{
ProblemsList.RemoveAt(ProblemsList.FindIndex(x => x.id == opType["id"]?.ToString()));
ProblemsList.RemoveAt(ProblemsList.FindIndex(x => x.id == opData["id"]?.ToString()));
}
break;
case "submissions":
Expand Down

0 comments on commit 8d16859

Please sign in to comment.