Skip to content

Commit

Permalink
🐛 ir a clasificaciones
Browse files Browse the repository at this point in the history
  • Loading branch information
1cgonza committed Mar 5, 2024
1 parent 6d57961 commit 0b64198
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/Galeria/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function limpiarFechas(datosGenerales: Autor | Personaje): AutorProcesado | Pers
const obras: Ref<ObraGaleria[]> = ref([]);
const cargando = ref(false);
if (!datos.value) throw createError({ statusCode: 404, statusMessage: 'No existen datos para esta galería' });
if (!datos.value) throw createError({ statusCode: 404, message: 'No existen datos para esta galería' });
const { data, pending } = obtenerDatosAsinc(
`obras-${datos.value.id}`,
Expand Down
2 changes: 1 addition & 1 deletion components/PaginaGeneral.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const { paginas } = await obtenerDatos<Esquema>(`pagina${props.slug}`, Pagina);
if (paginas.length) {
datos.value = paginas[0];
} else {
throw createError({ statusCode: 404, statusMessage: 'Arca en problemas', fatal: true });
throw createError({ statusCode: 404, message: 'Arca en problemas', fatal: true });
}
</script>

Expand Down
2 changes: 1 addition & 1 deletion pages/[...slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ if (esPaginaGeneral) {
}
} else {
// TODO: ESTO ESTABA ROMPIENDO LA PàGINA, VER COMO MOSTRAR EL 404 CUANDO DE VERDAD ES 404
throw createError({ statusCode: 404, statusMessage: 'La página no existe', fatal: false });
throw createError({ statusCode: 404, message: 'La página no existe', fatal: false });
}
}
Expand Down
2 changes: 1 addition & 1 deletion pages/categorias[[numero]]/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function clicSubCategorias(nivel: number, datosCategoria: Categoria) {

<Cargador v-if="pending" />

<div>
<div v-else>
<!-- Ver documentación del componente <TransitionGroup> en https://vuejs.org/guide/built-ins/transition-group.html -->
<TransitionGroup name="tarjetas" tag="ul">
<ul
Expand Down

0 comments on commit 0b64198

Please sign in to comment.