Skip to content

Commit

Permalink
fix: select smart tags on load
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsenta committed Jan 5, 2022
1 parent e8e7cdb commit 86b99f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/ui_models/app_state/tags_state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export class TagsState {
this.editing_ = undefined;

this.smartTags = this.application.getSmartTags();
this.selected_ = this.smartTags[0];

makeObservable(this, {
tags: observable.ref,
Expand Down

0 comments on commit 86b99f4

Please sign in to comment.