Skip to content
Snippets Groups Projects
Commit 4cad8c45 authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Sort comments also if there are no active filters

parent 43d96d96
No related merge requests found
......@@ -356,6 +356,7 @@ export class CommentListComponent implements OnInit, OnDestroy {
this.filteredComments = this.commentsFilteredByTime;
this.hideCommentsList = false;
this.currentFilter = '';
this.sortComments(this.currentSort);
return;
}
this.filteredComments = this.commentsFilteredByTime.filter(c => {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment