Skip to content

Commit

Permalink
Show timeout in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen1 committed May 29, 2020
1 parent 349c578 commit 2aa442b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/pages/tasks/[taskName]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const TaskPage: React.FC<TaskPageProps> = () => {
id
schedule
code
timeoutAfterDescription
runs {
id
state
Expand All @@ -50,6 +51,7 @@ const TaskPage: React.FC<TaskPageProps> = () => {
? "Manual invocation only"
: `Runs every ${data?.task?.schedule}`}
</p>
<p>Times out after {data?.task?.timeoutAfterDescription}</p>
<H2>Code</H2>
<Editor readonly value={data?.task?.code} language="typescript" />

Expand Down

0 comments on commit 2aa442b

Please sign in to comment.