mirror of
https://github.com/emailerfacu-spec/minix-front.git
synced 2026-04-18 15:57:31 -03:00
@@ -48,7 +48,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{$inspect(data)}
|
<!-- {$inspect(data)} -->
|
||||||
<Card class="mb-2 flex overflow-hidden">
|
<Card class="mb-2 flex overflow-hidden">
|
||||||
<CardContent>
|
<CardContent>
|
||||||
{#if cargando}
|
{#if cargando}
|
||||||
@@ -124,12 +124,12 @@
|
|||||||
<CardContent>
|
<CardContent>
|
||||||
<CardHeader class="flex justify-between">
|
<CardHeader class="flex justify-between">
|
||||||
<CardTitle>Seguidos:</CardTitle>
|
<CardTitle>Seguidos:</CardTitle>
|
||||||
{#if data.seguidos.response.length !== undefined}
|
{#if Array.isArray(data?.seguidos?.response)}
|
||||||
<Badge variant="secondary">{data.seguidos.response.length || 0}</Badge>
|
<Badge variant="secondary">{data.seguidos.response.length || 0}</Badge>
|
||||||
{/if}
|
{/if}
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
{#if data.seguidos.response.length || 0 === 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)}
|
||||||
@@ -145,12 +145,12 @@
|
|||||||
<CardContent>
|
<CardContent>
|
||||||
<CardHeader class="flex justify-between">
|
<CardHeader class="flex justify-between">
|
||||||
<CardTitle>Seguidores:</CardTitle>
|
<CardTitle>Seguidores:</CardTitle>
|
||||||
{#if data.seguidores.response.length !== undefined}
|
{#if Array.isArray(data?.seguidores?.response)}
|
||||||
<Badge variant="secondary">{data.seguidores.response.length || 0}</Badge>
|
<Badge variant="secondary">{data.seguidores.response.length || 0}</Badge>
|
||||||
{/if}
|
{/if}
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
{#if data.seguidores.response.length || 0 === 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)}
|
||||||
|
|||||||
Reference in New Issue
Block a user