From fb275ab2e0b569c744cb7e63d3e3f6fe0a353e9a Mon Sep 17 00:00:00 2001 From: Baptiste Grob <60621355+baptiste-grob@users.noreply.github.com> Date: Thu, 13 Feb 2020 11:00:41 +0100 Subject: [PATCH] Fix: #363 Wait for the note filter text to be cleared before reloading notes after a tag change --- app/assets/javascripts/controllers/notes/notes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/controllers/notes/notes.js b/app/assets/javascripts/controllers/notes/notes.js index 4b17aa118..eee75b586 100644 --- a/app/assets/javascripts/controllers/notes/notes.js +++ b/app/assets/javascripts/controllers/notes/notes.js @@ -193,7 +193,7 @@ class NotesCtrl extends PureCtrl { this.resetScrollPosition(); this.setShowMenuFalse(); - this.setNoteFilterText(''); + await this.setNoteFilterText(''); this.desktopManager.searchText(); this.resetPagination();