Files
komodo/frontend/src/components/resources/server/info/containers.tsx
Maxwell Becker 17d7ecb419 1.16.6 (#163)
* remove instrument from validate_cancel_build

* use type safe AllResources map - Action not showing omnisearch

* Stack support replicated services

* server docker nested tables

* fix container networks which use network of another container

* bump version

* add 'address' to ServerListItemInfo

* secrets list on variables page wraps

* fix user data script

* update default template user data

* improve sidebar layout styling

* fix network names shown on containers

* improve stack service / container page

* deleted resource log records Toml backup for later reference

* align all the tables

* add Url Builder type
2024-10-29 23:17:10 -07:00

24 lines
508 B
TypeScript

import { DockerContainersSection } from "@components/util";
import { useRead } from "@lib/hooks";
import { ReactNode } from "react";
export const Containers = ({
id,
titleOther
}: {
id: string;
titleOther: ReactNode
}) => {
const containers =
useRead("ListDockerContainers", { server: id }, { refetchInterval: 10_000 })
.data ?? [];
return (
<DockerContainersSection
server_id={id}
containers={containers}
titleOther={titleOther}
pruneButton
/>
);
};