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