Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

fix(tags): show suggestions on focus (#710)

Terminal Chaiee54c9efe1f8
diff --git a/frontend/app/components/AppTagInput.vue b/frontend/app/components/AppTagInput.vue
index f973a908..27ca4a57 100644
--- a/frontend/app/components/AppTagInput.vue
+++ b/frontend/app/components/AppTagInput.vue
@@ -80,7 +80,7 @@ function stringToTags(str: string): string[] {
}
const filteredTagSuggestions = computed(() => {
- if (!tagInput.value) return [];
+ if (!tagInput.value) return nodesStore.allTags;
const input = tagInput.value.toLowerCase();
return nodesStore.allTags.filter(tag => tag.toLowerCase().includes(input) && !tagInput.value.includes(tag)).slice(0, 5);
});