mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-09 21:45:17 +00:00
refactor(multi-server): add modals and separate server actions
This commit is contained in:
@@ -11,7 +11,7 @@ import { api } from "@/utils/api";
|
||||
|
||||
interface Props {
|
||||
containerId: string;
|
||||
serverId?: string | null;
|
||||
serverId?: string;
|
||||
}
|
||||
|
||||
export const ShowContainerConfig = ({ containerId, serverId }: Props) => {
|
||||
|
||||
@@ -122,7 +122,7 @@ export const columns: ColumnDef<Container>[] = [
|
||||
</ShowDockerModalLogs>
|
||||
<ShowContainerConfig
|
||||
containerId={container.containerId}
|
||||
serverId={container.serverId}
|
||||
serverId={container.serverId || ""}
|
||||
/>
|
||||
<DockerTerminalModal containerId={container.containerId}>
|
||||
Terminal
|
||||
|
||||
Reference in New Issue
Block a user