mirror of https://github.com/ppy/osu
CI fix
This commit is contained in:
parent
42a06a54ff
commit
ad32d66365
|
@ -78,6 +78,6 @@ public string GetMessage()
|
|||
return WebUtility.HtmlDecode(Regex.Replace(MessageHtml, @"<(.|\n)*?>", string.Empty));
|
||||
}
|
||||
|
||||
public int GetDeletedChildrenCount => ChildComments.Select(c => c.IsDeleted).Where(c => c).Count();
|
||||
public int GetDeletedChildrenCount => ChildComments.Select(c => c.IsDeleted).Count(c => c);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -163,7 +163,7 @@ private void onSuccess(APICommentsController response, bool initial)
|
|||
{
|
||||
content.Add(loaded);
|
||||
|
||||
int deletedComments = response.Comments.Select(c => c.IsDeleted && c.IsTopLevel).Where(c => c).Count();
|
||||
int deletedComments = response.Comments.Select(c => c.IsDeleted && c.IsTopLevel).Count(c => c);
|
||||
|
||||
deletedChildrenPlaceholder.DeletedCount.Value = initial ? deletedComments : deletedChildrenPlaceholder.DeletedCount.Value + deletedComments;
|
||||
|
||||
|
|
Loading…
Reference in New Issue