diff --git a/src/pages/IndexPage.vue b/src/pages/IndexPage.vue index a76949e..0fe3b57 100644 --- a/src/pages/IndexPage.vue +++ b/src/pages/IndexPage.vue @@ -6,6 +6,11 @@ + {{ lista.items.filter(i => + !i.is_done).length + }}/{{ + lista.items.length + }}
{{ lista.nombre }}
{{ lista.email_owner }}
@@ -52,7 +57,7 @@ const getListas = async () => { try { let { data: listas, error } = await supabase .from('listas') - .select(`*, profiles(*)`) + .select(`*, profiles(*),items(is_done)`) if (error) throw error console.log('listas', listas) arraylistas = listas