diff --git a/apps/dokploy/components/dashboard/settings/destination/handle-destinations.tsx b/apps/dokploy/components/dashboard/settings/destination/handle-destinations.tsx index d36d53af2..dae069e91 100644 --- a/apps/dokploy/components/dashboard/settings/destination/handle-destinations.tsx +++ b/apps/dokploy/components/dashboard/settings/destination/handle-destinations.tsx @@ -122,6 +122,9 @@ export const HandleDestinations = ({ destinationId }: Props) => { .then(async () => { toast.success(`Destination ${destinationId ? "Updated" : "Created"}`); await utils.destination.all.invalidate(); + if (destinationId) { + await utils.destination.one.invalidate({ destinationId }); + } setOpen(false); }) .catch(() => {