From 237a64c3220beb1eb925e8bf10c0c7c5929f0fc3 Mon Sep 17 00:00:00 2001 From: Antonella Sgarlatta Date: Tue, 25 May 2021 19:57:14 -0300 Subject: [PATCH] feat: get sorted tags for note --- app/assets/javascripts/ui_models/app_state/notes_state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/ui_models/app_state/notes_state.ts b/app/assets/javascripts/ui_models/app_state/notes_state.ts index 69c227c62..08bb56d29 100644 --- a/app/assets/javascripts/ui_models/app_state/notes_state.ts +++ b/app/assets/javascripts/ui_models/app_state/notes_state.ts @@ -158,7 +158,7 @@ export class NotesState { reloadActiveNoteTags(): void { const { activeNote } = this; if (activeNote) { - this.activeNoteTags = this.application.getAppState().getNoteTags(activeNote); + this.activeNoteTags = this.application.getSortedTagsForNote(activeNote) } }