This commit is contained in:
parent
337f6e4600
commit
592cf867e5
@ -46,7 +46,7 @@ function getTemplate(params: { id: string }) {
|
|||||||
interface TemplateDetailProps {
|
interface TemplateDetailProps {
|
||||||
params: { id: string };
|
params: { id: string };
|
||||||
}
|
}
|
||||||
export function TemplateDetail({ params }: TemplateDetailProps) {
|
export default function TemplateDetail({ params }: TemplateDetailProps) {
|
||||||
const { data, isLoading } = useListMachines();
|
const { data, isLoading } = useListMachines();
|
||||||
console.log({ data, isLoading });
|
console.log({ data, isLoading });
|
||||||
const details = getTemplate(params);
|
const details = getTemplate(params);
|
||||||
|
@ -108,7 +108,7 @@ export function NodeRow(props: {
|
|||||||
<TableCell
|
<TableCell
|
||||||
component="th"
|
component="th"
|
||||||
scope="row"
|
scope="row"
|
||||||
onClick={(event) => handleClick(event, row.id)}
|
onClick={(event) => handleClick(event, row.name)}
|
||||||
>
|
>
|
||||||
<Stack>
|
<Stack>
|
||||||
<Typography component="div" align="left" variant="body1">
|
<Typography component="div" align="left" variant="body1">
|
||||||
@ -120,7 +120,7 @@ export function NodeRow(props: {
|
|||||||
align="left"
|
align="left"
|
||||||
variant="body2"
|
variant="body2"
|
||||||
>
|
>
|
||||||
{row.id}
|
{row.name}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
|
Loading…
Reference in New Issue
Block a user