mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-15 21:31:11 +00:00
fix: don't auto-run Health diagnostics on mount
Reverts the mount-only auto-refetch — it still ran host shell, Docker,
DB, and SSH log-tail work before the user asked for it, just once
instead of on every filter change. Back to fully manual: nothing runs
until Check/Re-check is clicked, matching the panel's own copy
("Nothing runs automatically — click to check").
This commit is contained in:
@@ -142,12 +142,6 @@ export const ShowHealth = ({ serverId }: Props) => {
|
||||
{ enabled: false },
|
||||
);
|
||||
|
||||
// Mount-only: filter changes require an explicit Check click, not an auto-refetch.
|
||||
useEffect(() => {
|
||||
refetch();
|
||||
refetchFailed();
|
||||
}, []);
|
||||
|
||||
// Refreshes the default range's "to" bound to now right before checking.
|
||||
const [checkFailedTick, setCheckFailedTick] = useState(0);
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user