From 2592b1242d30a8be15ed62d295f87626c86ec190 Mon Sep 17 00:00:00 2001 From: timotheegoguely Date: Tue, 10 Sep 2024 15:41:05 +0200 Subject: [PATCH] Update Projects component: fix isActive values --- src/components/Projects.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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", }, ]; });