summaryrefslogtreecommitdiff
path: root/client/components/Tasks
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/Tasks')
-rw-r--r--client/components/Tasks/TaskFormView.jsx1
-rw-r--r--client/components/Tasks/TaskListView.jsx7
2 files changed, 4 insertions, 4 deletions
diff --git a/client/components/Tasks/TaskFormView.jsx b/client/components/Tasks/TaskFormView.jsx
index e296a66..01265b8 100644
--- a/client/components/Tasks/TaskFormView.jsx
+++ b/client/components/Tasks/TaskFormView.jsx
@@ -4,7 +4,6 @@ import { Link } from 'react-router-dom'
import client from '../../client.js'
export default function TaskFormView (props) {
- // console.log(props)
return (
<div class='form'>
<div>
diff --git a/client/components/Tasks/TaskListView.jsx b/client/components/Tasks/TaskListView.jsx
index dc1d9b4..47be794 100644
--- a/client/components/Tasks/TaskListView.jsx
+++ b/client/components/Tasks/TaskListView.jsx
@@ -8,9 +8,10 @@ export default function TaskListView (props) {
<div key={i}>
<span>{task.id}</span>
<span>{task.created_at}</span>
- <span class='name'><FileLink file={task.content_file}>{task.content_file.name}</FileLink></span>
- <span class='name'><FileLink file={task.style_file}>{task.style_file.name}</FileLink></span>
- <span>{task.alpha}</span>
+ <span class='name'><FileLink file={task.content_file} /></span>
+ <span class='name'><FileLink file={task.style_file} /></span>
+ <span>α={task.alpha}</span>
+ <span class='name'><FileLink file={task.output_file} /></span>
</div>
)
// <span class='name'>{task.result_file.name}</span>