From 4cad8c4543fcb5ec17c9f831d7399c795be8e056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Mau=C3=9F?= <lukas.mauss@gmx.de> Date: Thu, 18 Feb 2021 17:42:42 +0100 Subject: [PATCH] Sort comments also if there are no active filters --- src/app/components/shared/comment-list/comment-list.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/components/shared/comment-list/comment-list.component.ts b/src/app/components/shared/comment-list/comment-list.component.ts index 1e96bd179..d784ce87e 100644 --- a/src/app/components/shared/comment-list/comment-list.component.ts +++ b/src/app/components/shared/comment-list/comment-list.component.ts @@ -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 => { -- GitLab