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
Branches
Tags
No related merge requests found
...@@ -65,12 +65,13 @@ function jobChipColor(status: string): string { ...@@ -65,12 +65,13 @@ function jobChipColor(status: string): string {
function formatJobConfig(c): ReactElement { function formatJobConfig(c): ReactElement {
const r = ( const r = (
<> <>
{/* {JSON.stringify(c)} */} <b>Template ID:</b> {c?.job_data?.template_id}
<b>Template ID:</b> {c?.template_name}
<br /> <br />
<b>Model:</b> {c?.model_name} <b>Model:</b> {c?.model_name}
<br /> <br />
<b>Dataset:</b> {c?.dataset_name} <b>Dataset:</b> {c?.dataset_name}
<br />
<b>Created:</b> {c?.created_at}
</> </>
); );
return r; return r;
...@@ -318,7 +319,7 @@ export default function TrainLoRA({ experimentInfo }) { ...@@ -318,7 +319,7 @@ export default function TrainLoRA({ experimentInfo }) {
{/* {JSON.stringify(job)} */} {/* {JSON.stringify(job)} */}
<b>{job.id}-</b> {job.type} <b>{job.id}-</b> {job.type}
</td> </td>
<td>{formatJobConfig(job.config)}</td> <td>{formatJobConfig(job)}</td>
<td> <td>
<Chip color={jobChipColor(job.status)}> <Chip color={jobChipColor(job.status)}>
{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