chore(version): bump version

This commit is contained in:
Mauricio Siu
2024-10-30 21:48:19 -06:00
parent 97715a47b3
commit 6c92e6efc9
17 changed files with 14 additions and 31 deletions

View File

@@ -37,7 +37,6 @@ export const ShowDeployment = ({ logPath, open, onClose, serverId }: Props) => {
};
ws.onclose = () => {
console.log("WebSocket connection closed");
wsRef.current = null; // Clear reference on close
};

View File

@@ -43,7 +43,6 @@ export const ShowDeploymentCompose = ({
};
ws.onclose = () => {
console.log("WebSocket connection closed");
wsRef.current = null;
};

View File

@@ -30,7 +30,6 @@ export const DockerLogsId: React.FC<Props> = ({
}
if (wsRef.current) {
console.log(wsRef.current);
if (wsRef.current.readyState === WebSocket.OPEN) {
wsRef.current.close();
}

View File

@@ -38,7 +38,10 @@ export const TerminalModal = ({ children, serverId }: Props) => {
{children}
</DropdownMenuItem>
</DialogTrigger>
<DialogContent className="max-h-screen overflow-y-auto sm:max-w-7xl">
<DialogContent
className="max-h-screen overflow-y-auto sm:max-w-7xl"
onEscapeKeyDown={(event) => event.preventDefault()}
>
<DialogHeader className="flex flex-col gap-1">
<DialogTitle>Terminal ({data?.name})</DialogTitle>
<DialogDescription>Easy way to access the server</DialogDescription>