Amélioration pour nouveau connecté

This commit is contained in:
ocroguennec committed 2026-07-03 20:44:32 +02:00
1 parent 53742568ce
commit ff77ee977d
6 files changed
+87 -6

No files matched your search

+12
View File
@@ -768,6 +768,18 @@ export default function Remboursements() {
<EmptyState />
</>
);
if (platLoaded && !loading && !modalOpen && allRows.length === 0) return (
<>
<div className="topbar"><h2>Remboursements</h2></div>
<EmptyState
icon="📋"
title="Aucun remboursement pour le moment"
message="Vos plateformes sont configurées, mais aucun remboursement n'a encore été enregistré. Ajoutez un remboursement pour voir apparaître vos données."
cta="Ajouter un remboursement"
to="/remboursements?new=1"
/>
</>
);
return (
<>
<div className="topbar">