From d6bf266159c57afa958017d46152a6d4e0161e2e Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Mon, 24 Feb 2025 21:52:37 +0100 Subject: [PATCH] feat: reload on change komga config. it s not ok but for now we let it like that --- src/components/settings/ClientSettings.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/settings/ClientSettings.tsx b/src/components/settings/ClientSettings.tsx index 2bb94c9..8a4a38c 100644 --- a/src/components/settings/ClientSettings.tsx +++ b/src/components/settings/ClientSettings.tsx @@ -192,6 +192,9 @@ export function ClientSettings({ initialConfig, initialTTLConfig }: ClientSettin title: "Configuration sauvegardée", description: "La configuration a été sauvegardée avec succès", }); + + // Forcer un rechargement complet de la page + window.location.reload(); } catch (error) { console.error("Erreur lors de la sauvegarde:", error); toast({