From 3764c63d2e0f24f1101eb1f108f7ef8cf62da509 Mon Sep 17 00:00:00 2001 From: Laurent Senta Date: Wed, 5 Jan 2022 10:52:43 +0100 Subject: [PATCH] fix: select smart tags on load --- app/assets/javascripts/ui_models/app_state/tags_state.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/ui_models/app_state/tags_state.ts b/app/assets/javascripts/ui_models/app_state/tags_state.ts index ea2c6201512..ba9325c78be 100644 --- a/app/assets/javascripts/ui_models/app_state/tags_state.ts +++ b/app/assets/javascripts/ui_models/app_state/tags_state.ts @@ -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,