Skip to content

Build your personal knowledge base with Trilium Notes

focus autocomplete on new tab even if there are workspaces, fixes #3083

zadam09cfaeb9c453
diff --git a/src/public/app/widgets/type_widgets/empty.js b/src/public/app/widgets/type_widgets/empty.js
index 6e4cf8399c..0d5c991187 100644
--- a/src/public/app/widgets/type_widgets/empty.js
+++ b/src/public/app/widgets/type_widgets/empty.js
@@ -83,10 +83,8 @@ export default class EmptyTypeWidget extends TypeWidget {
);
}
- if (workspaceNotes.length === 0) {
- this.$autoComplete
- .trigger('focus')
- .trigger('select');
- }
+ this.$autoComplete
+ .trigger('focus')
+ .trigger('select');
}
}