mirror of
https://github.com/emailerfacu-spec/minix-front.git
synced 2026-04-01 13:10:44 -03:00
@@ -124,10 +124,10 @@
|
|||||||
<CardContent>
|
<CardContent>
|
||||||
<CardHeader class="flex justify-between">
|
<CardHeader class="flex justify-between">
|
||||||
<CardTitle>Seguidos:</CardTitle>
|
<CardTitle>Seguidos:</CardTitle>
|
||||||
<Badge variant="secondary">{data.seguidos.response.length}</Badge>
|
<Badge variant="secondary">{data.seguidos.response.length || 0}</Badge>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
{#if data.seguidos.response.length === 0}
|
{#if data.seguidos.response.length || 0 === 0}
|
||||||
<h3>No hay Seguidos</h3>
|
<h3>No hay Seguidos</h3>
|
||||||
{:else}
|
{:else}
|
||||||
{#each data.seguidos.response as seguidos (seguidos.id)}
|
{#each data.seguidos.response as seguidos (seguidos.id)}
|
||||||
@@ -143,10 +143,10 @@
|
|||||||
<CardContent>
|
<CardContent>
|
||||||
<CardHeader class="flex justify-between">
|
<CardHeader class="flex justify-between">
|
||||||
<CardTitle>Seguidores:</CardTitle>
|
<CardTitle>Seguidores:</CardTitle>
|
||||||
<Badge variant="secondary">{data.seguidores.response.length}</Badge>
|
<Badge variant="secondary">{data.seguidores.response.length || 0}</Badge>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
{#if data.seguidores.response.length === 0}
|
{#if data.seguidores.response.length || 0 === 0}
|
||||||
<h3>No hay Seguidores</h3>
|
<h3>No hay Seguidores</h3>
|
||||||
{:else}
|
{:else}
|
||||||
{#each data.seguidores.response as seguidores (seguidores.id)}
|
{#each data.seguidores.response as seguidores (seguidores.id)}
|
||||||
|
|||||||
@@ -26,7 +26,6 @@
|
|||||||
let postAModificar: Post | null = $state(null);
|
let postAModificar: Post | null = $state(null);
|
||||||
|
|
||||||
let showCrearPost = $state(false);
|
let showCrearPost = $state(false);
|
||||||
const toggleCrearPost = () => (showCrearPost = !showCrearPost);
|
|
||||||
|
|
||||||
let data = $derived(page.data);
|
let data = $derived(page.data);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user