summaryrefslogtreecommitdiff
path: root/app/client/dashboard/dashboard.component.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-04 21:43:36 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-04 21:43:36 +0200
commit5321bafae0916861e270b692a42b3b699a96d339 (patch)
tree9137cd8ff869b623bb257a22f29223a2af661a44 /app/client/dashboard/dashboard.component.js
parent55a5504ab1271bb5cdc3d7d7df5df853b0161148 (diff)
task index / queue translation
Diffstat (limited to 'app/client/dashboard/dashboard.component.js')
-rw-r--r--app/client/dashboard/dashboard.component.js16
1 files changed, 2 insertions, 14 deletions
diff --git a/app/client/dashboard/dashboard.component.js b/app/client/dashboard/dashboard.component.js
index c74c4df..d9aece1 100644
--- a/app/client/dashboard/dashboard.component.js
+++ b/app/client/dashboard/dashboard.component.js
@@ -14,10 +14,12 @@ import { FileList } from '../common/fileList.component'
import Gallery from '../common/gallery.component'
import * as dashboardActions from './dashboard.actions'
+import actions from '../actions'
class Dashboard extends Component {
constructor(props){
super()
+ actions.task.index()
}
componentWillUpdate(nextProps) {
// if (nextProps.opt.checkpoint_name && nextProps.opt.checkpoint_name !== this.props.opt.checkpoint_name) {
@@ -38,20 +40,6 @@ class Dashboard extends Component {
<TaskList tasks={queue} />
</Group>
</div>
- <div className='column'>
- <Group title='Your Datasets'>
- <FileList files={files} />
- </Group>
- <Group title='Results'>
- <FileList files={files} />
- </Group>
- <Group title='Audio Player'>
- <FileList files={files} />
- </Group>
- </div>
- </div>
- <div>
- <Gallery images={images} />
</div>
</div>
)