Update task details view

This commit is contained in:
Ken Hibino
2021-10-16 06:48:42 -07:00
parent 36c82e380a
commit efb2aa75a8
4 changed files with 79 additions and 8 deletions

View File

@@ -325,10 +325,8 @@ function Row(props: RowProps) {
</SyntaxHighlighter>
</TableCell>
<TableCell>
{task.result_ttl_seconds > 0
? `${stringifyDuration(
durationFromSeconds(task.result_ttl_seconds)
)} left`
{task.ttl_seconds > 0
? `${stringifyDuration(durationFromSeconds(task.ttl_seconds))} left`
: `expired`}
</TableCell>
<TableCell