📚 The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Update debounce function comments to improve clarity
Axel MINART4d14610e9192
diff --git a/frontend/app/composables/utils.ts b/frontend/app/composables/utils.tsindex 8b4a258d..cc082f2c 100644--- a/frontend/app/composables/utils.ts+++ b/frontend/app/composables/utils.ts@@ -77,10 +77,10 @@ export function debounceDelayed<T extends (...args: unknown[]) => void>(fn: T, dlet timeout: ReturnType<typeof setTimeout> | null = null;return (...args: Parameters<T>) => {- // Annuler le timer précédent+ // Cancel the previous timerif (timeout) clearTimeout(timeout);- // Lancer un nouveau timer+ // Launch a new timertimeout = setTimeout(() => {fn(...args);timeout = null;