summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-11 15:15:42 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-11 15:15:42 +0100
commit9ca4e4822bc3947f9c570d5ec3490f06f3de6997 (patch)
tree5a81f0b27262369939667dfecdee5a548d01196d /app
parentc627f19e1f2674ad7f996ec2bba636b383557986 (diff)
deploy bundle
Diffstat (limited to 'app')
-rw-r--r--app/client/modules/biggan/views/biggan.show.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/client/modules/biggan/views/biggan.show.js b/app/client/modules/biggan/views/biggan.show.js
index 22cecfb..3ed8184 100644
--- a/app/client/modules/biggan/views/biggan.show.js
+++ b/app/client/modules/biggan/views/biggan.show.js
@@ -35,7 +35,7 @@ class BigGANShow extends Component {
}
}
render(){
- const { biggan, match, history, actions } = this.props
+ const { biggan, match, history, actions, tasks } = this.props
const { folderLookup } = (biggan.data || {})
const folder = (folderLookup || {})[biggan.folder_id] || {}
@@ -45,7 +45,7 @@ class BigGANShow extends Component {
<div class='spaced'>
<h1>{folder ? folder.name : <Loading />}</h1>
<UploadStatus />
- <button onClick={() => actions.tasks.invert_task(folder.id)}>Run inversion task</button>
+ <button onClick={() => tasks.invert_task(folder.id)}>Run inversion task</button>
</div>
</div>
<div className='row'>