From d8062532d0e2c79d799cd74617d01f989d950244 Mon Sep 17 00:00:00 2001 From: brondon <franck.brondon.mezatio.felefack@mni.thm.de> Date: Mon, 7 Jun 2021 20:06:58 +0200 Subject: [PATCH] reset filter localstorage --- .../components/shared/comment-list/comment-list.component.ts | 3 +++ 1 file changed, 3 insertions(+) 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 c399bfdca..e6708d4e7 100644 --- a/src/app/components/shared/comment-list/comment-list.component.ts +++ b/src/app/components/shared/comment-list/comment-list.component.ts @@ -453,7 +453,10 @@ export class CommentListComponent implements OnInit, OnDestroy { this.filteredComments = this.commentsFilteredByTime; this.hideCommentsList = false; this.currentFilter = ''; + this.selectedTag = ''; + this.selectedKeyword = ''; this.sortComments(this.currentSort); + CommentFilterOptions.writeFilterStatic(this.getCurrentFilter()); return; } this.filteredComments = this.commentsFilteredByTime.filter(c => { -- GitLab