mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-03-16 05:09:46 +01:00
fix: mettre à jour la date de compatibilité et supprimer les journaux de débogage dans la page d'état
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script lang="ts" setup>
|
||||
import type { StatusPageData } from '~~/types'
|
||||
|
||||
const { data, status, error } = await useAsyncData<StatusPageData>('home-status', () =>
|
||||
const { data, status } = await useAsyncData<StatusPageData>('home-status', () =>
|
||||
$fetch('/api/status-page'),
|
||||
{ lazy: true }
|
||||
)
|
||||
@@ -49,7 +49,7 @@ const statusState = computed(() => {
|
||||
|
||||
<template>
|
||||
<ClientOnly>
|
||||
<UCard v-if="!error" class="h-full flex flex-col overflow-hidden">
|
||||
<UCard v-if="data" class="h-full flex flex-col overflow-hidden">
|
||||
<div class="p-5 border-b border-neutral-200 dark:border-neutral-800">
|
||||
<div class="flex items-center justify-between mb-2">
|
||||
<h3 class="font-bold text-neutral-900 dark:text-white text-sm">
|
||||
|
||||
Reference in New Issue
Block a user