diff --git a/src/components/Projects.vue b/src/components/Projects.vue index e9f77d8..98d2f1e 100644 --- a/src/components/Projects.vue +++ b/src/components/Projects.vue @@ -49,13 +49,13 @@ const tabs = computed(() => { label: "Projets en cours", id: "currentProjects", count: currentProjects.value.length, - isActive: true, + isActive: currentTab.value === "currentProjects", }, { label: "Projets archivés", id: "archivedProjects", count: archivedProjects.value.length, - isActive: false, + isActive: currentTab.value === "archivedProjects", }, ]; });