Update Projects component: fix isActive values
This commit is contained in:
parent
db4e1fd84a
commit
2592b1242d
1 changed files with 2 additions and 2 deletions
|
|
@ -49,13 +49,13 @@ const tabs = computed(() => {
|
||||||
label: "Projets en cours",
|
label: "Projets en cours",
|
||||||
id: "currentProjects",
|
id: "currentProjects",
|
||||||
count: currentProjects.value.length,
|
count: currentProjects.value.length,
|
||||||
isActive: true,
|
isActive: currentTab.value === "currentProjects",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Projets archivés",
|
label: "Projets archivés",
|
||||||
id: "archivedProjects",
|
id: "archivedProjects",
|
||||||
count: archivedProjects.value.length,
|
count: archivedProjects.value.length,
|
||||||
isActive: false,
|
isActive: currentTab.value === "archivedProjects",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue