Skip to content
Snippets Groups Projects
Commit 2fe6764f authored by ali asaria's avatar ali asaria
Browse files

partially fix display of job data

parent d0b50254
No related branches found
No related tags found
No related merge requests found
......@@ -65,12 +65,13 @@ function jobChipColor(status: string): string {
function formatJobConfig(c): ReactElement {
const r = (
<>
{/* {JSON.stringify(c)} */}
<b>Template ID:</b> {c?.template_name}
<b>Template ID:</b> {c?.job_data?.template_id}
<br />
<b>Model:</b> {c?.model_name}
<br />
<b>Dataset:</b> {c?.dataset_name}
<br />
<b>Created:</b> {c?.created_at}
</>
);
return r;
......@@ -318,7 +319,7 @@ export default function TrainLoRA({ experimentInfo }) {
{/* {JSON.stringify(job)} */}
<b>{job.id}-</b> {job.type}
</td>
<td>{formatJobConfig(job.config)}</td>
<td>{formatJobConfig(job)}</td>
<td>
<Chip color={jobChipColor(job.status)}>
{job.status}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment