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.

Remove old french comments

Smaug6739262fc5cb14f9
diff --git a/frontend/app/composables/useContextMenu.ts b/frontend/app/composables/useContextMenu.ts
index 4228fc39..17ac4f90 100644
--- a/frontend/app/composables/useContextMenu.ts
+++ b/frontend/app/composables/useContextMenu.ts
@@ -15,15 +15,9 @@ const menu = ref<ContextMenu | null>(null);
export function useContextMenu() {
function open(component: object, event: MouseEvent, options: ContextMenuOptions = {}) {
- console.log('Opening context menu', component, event, options);
- // Fermer d’abord si un autre est déjà ouvert
close();
-
- // Calcul position (éviter de dépasser l’écran)
const { clientX: x, clientY: y } = event;
menu.value = { component, x, y, options };
-
- // Empêche le clic d’ouvrir un menu par défaut
event.preventDefault();
}