Skip to content

Commit

Permalink
job-table: sort stages by id
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarshgupta137 authored and krishnan-r committed May 9, 2022
1 parent 646e5d3 commit 83d79df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/job-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const StageItem = observer((props: { stageId: string }) => {

const StageTable = observer((props: { jobId: string }) => {
const notebook = useNotebookStore();
const stageIds = notebook.jobs[props.jobId].uniqueStageIds;
const stageIds = notebook.jobs[props.jobId].uniqueStageIds.slice(0).sort();
const rows = stageIds.map((stageId) => {
return <StageItem stageId={stageId} key={stageId} />;
});
Expand Down

0 comments on commit 83d79df

Please sign in to comment.