Skip to content

Commit

Permalink
Fixup job table updates
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-gai committed Jul 23, 2022
1 parent bdf50fd commit 3f2befb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/tui.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ func PushJobRow(job JobInfo, jobTable *widgets.Table) {
}

func UpdateJobRow(job JobInfo, jobTable *widgets.Table) {
jobTable.Rows[job.ID-1][3] = job.Status
jobTable.Rows[job.ID][3] = job.Status
termui.Render(jobTable)
}

0 comments on commit 3f2befb

Please sign in to comment.