chore: build
ci-api / test (push) Failing after 14m25s
ci-web / test (push) Failing after 8m17s

This commit is contained in:
Xor290
2026-09-20 16:14:29 +02:00
parent 76b1412968
commit 9e11f01c2c
15 changed files with 65 additions and 359 deletions
+7 -16
View File
@@ -75,21 +75,12 @@ export function Projects() {
}
}
// Échéance affichée : temps restant, ou date de suppression si suspendu.
const deadline = (p: Project) => {
if (p.status === 'suspended') {
return (
<Text color="orange.500" fontSize="sm">
Suppression le {formatDate(p.delete_at)}
</Text>
)
}
return (
<Text fontSize="sm">
{formatDate(p.expires_at)} · {timeRemaining(p.expires_at)}
</Text>
)
}
// Échéance affichée : date de suppression et temps restant.
const deadline = (p: Project) => (
<Text fontSize="sm">
{formatDate(p.expires_at)} · {timeRemaining(p.expires_at)}
</Text>
)
return (
<Box p={{ base: 4, md: 8 }}>
@@ -122,7 +113,7 @@ export function Projects() {
<Tbody>
{projects.map((p) => {
const locked = busy === p.id
const canExtend = p.status === 'ready' || p.status === 'provisioning' || p.status === 'suspended'
const canExtend = p.status === 'ready' || p.status === 'provisioning'
return (
<Tr key={p.id}>
<Td>{p.client_name}</Td>