refactor(multi-server): add deploy templates on different servers

This commit is contained in:
Mauricio Siu
2024-09-17 00:38:27 -06:00
parent abe787593c
commit a591e02ffa
9 changed files with 106 additions and 24 deletions
@@ -26,7 +26,7 @@ import { TerminalModal } from "../web-server/terminal-modal";
import { AddServer } from "./add-server";
import { SetupServer } from "./setup-server";
export const ShowServers = () => {
const { data, refetch } = api.server.all.useQuery();
const { data, refetch } = api.server.withSSHKey.useQuery();
const { mutateAsync } = api.server.remove.useMutation();
const { data: sshKeys } = api.sshKey.all.useQuery();