diff --git a/client/src/pages/ImportSettings.tsx b/client/src/pages/ImportSettings.tsx index 606d059..fed409c 100644 --- a/client/src/pages/ImportSettings.tsx +++ b/client/src/pages/ImportSettings.tsx @@ -191,6 +191,7 @@ export default function ImportSettings() { onClick={async () => { try { await stopFolderServiceMutation.mutateAsync(); + await utils.folderImportService.status.invalidate(); toast.success("Service arrêté", { description: "L'import automatique depuis dossier a été arrêté.", }); @@ -212,13 +213,14 @@ export default function ImportSettings() { ) : ( )} diff --git a/todo.md b/todo.md index 25a81d8..a58775b 100644 --- a/todo.md +++ b/todo.md @@ -191,3 +191,7 @@ - [x] Ajouter fonction triggerEmailCheck dans emailImportService - [x] Ajouter route tRPC emailImportService.checkNow - [ ] Tester avec un email réel et diagnostiquer les erreurs IMAP + +## Bugs interface ImportSettings +- [x] Corriger l'encodage Unicode du bouton "Vérifier maintenant" +- [x] Ajouter rafraîchissement automatique du statut du service après démarrage/arrêt (email et dossier)