Inspirations
-
@@ -70,11 +58,19 @@ const currentTab = ref("all");
const tabs = computed(() => {
return [
{
- label: "Les inspirations",
+ label: "Les Inspirations",
id: "all",
- count: currentInspiration.media.length,
- isActive: true,
+ icon: null,
+ count: null,
+ isActive: currentTab.value === "all"
},
+ {
+ label: "Mes Favoris",
+ id: "favorites",
+ icon: "favorite",
+ count: 6, // TODO: dynamiser (favorites.count)
+ isActive: currentTab.value === "favorites"
+ }
];
});