add outoclose modal when login time changed

This commit is contained in:
PxlLoewe
2025-06-02 15:45:22 -07:00
parent 00b04089bf
commit f752e5fa78
2 changed files with 2 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ export const ConnectionBtn = () => {
}, },
}); });
toast.success("Änderung gespeichert!"); toast.success("Änderung gespeichert!");
modalRef.current?.close();
}, 2000); }, 2000);
setLogoffDebounce(timeout); setLogoffDebounce(timeout);

View File

@@ -67,6 +67,7 @@ export const ConnectionBtn = () => {
: null, : null,
}, },
}); });
modalRef.current?.close();
toast.success("Änderung gespeichert!"); toast.success("Änderung gespeichert!");
}, 2000); }, 2000);