mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-23 04:18:45 +00:00
Merge pull request #959 from szwabodev/feat/localServerTerminal
feat: local server terminal access
This commit is contained in:
@@ -34,8 +34,10 @@ import { ShowSwarmOverviewModal } from "./show-swarm-overview-modal";
|
||||
import { ShowTraefikFileSystemModal } from "./show-traefik-file-system-modal";
|
||||
import { UpdateServer } from "./update-server";
|
||||
import { WelcomeSuscription } from "./welcome-stripe/welcome-suscription";
|
||||
import { useTranslation } from "next-i18next";
|
||||
|
||||
export const ShowServers = () => {
|
||||
const { t } = useTranslation("settings");
|
||||
const router = useRouter();
|
||||
const query = router.query;
|
||||
const { data, refetch } = api.server.all.useQuery();
|
||||
@@ -191,7 +193,9 @@ export const ShowServers = () => {
|
||||
<>
|
||||
{server.sshKeyId && (
|
||||
<TerminalModal serverId={server.serverId}>
|
||||
<span>Enter the terminal</span>
|
||||
<span>
|
||||
{t("settings.common.enterTerminal")}
|
||||
</span>
|
||||
</TerminalModal>
|
||||
)}
|
||||
<SetupServer serverId={server.serverId} />
|
||||
|
||||
Reference in New Issue
Block a user