mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-16 17:05:17 +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 },
|
{ 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.
|
// Refreshes the default range's "to" bound to now right before checking.
|
||||||
const [checkFailedTick, setCheckFailedTick] = useState(0);
|
const [checkFailedTick, setCheckFailedTick] = useState(0);
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user