diff options
Diffstat (limited to 'app/client/modules')
| -rw-r--r-- | app/client/modules/biggan/views/biggan.show.js | 4 |
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'> |
