mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-14 16:05:18 +00:00
feat(cluster-nodes): enhance node management by adding serverId prop to components and implementing ShowNodesModal
This commit is contained in:
@@ -9,8 +9,12 @@ import copy from "copy-to-clipboard";
|
||||
import { CopyIcon } from "lucide-react";
|
||||
import { toast } from "sonner";
|
||||
|
||||
export const AddManager = () => {
|
||||
const { data } = api.cluster.addManager.useQuery();
|
||||
interface Props {
|
||||
serverId?: string;
|
||||
}
|
||||
|
||||
export const AddManager = ({ serverId }: Props) => {
|
||||
const { data } = api.cluster.addManager.useQuery({ serverId });
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user