Skip to content

Commit

Permalink
fix: add sync after adding tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonella Sgarlatta committed May 25, 2021
1 parent eb89fe4 commit ee975df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/ui_models/app_state/notes_state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ export class NotesState {
await this.application.changeItem(tag.uuid, (mutator) => {
mutator.addItemAsRelationship(activeNote);
});
this.application.sync();
this.reloadActiveNoteTags();
}
}
Expand Down

0 comments on commit ee975df

Please sign in to comment.