summaryrefslogtreecommitdiff
path: root/app/client
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-26 03:19:29 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-26 03:19:29 +0200
commit784d708914a8da980060a5afef04aefc00bc87c3 (patch)
tree00666742843c113838c37169cbcb6c2a8f85ba17 /app/client
parent24186fc504859d774ebda65d5702132098d6de97 (diff)
morph task structure
Diffstat (limited to 'app/client')
-rw-r--r--app/client/modules/morph/morph.tasks.js5
-rw-r--r--app/client/modules/morph/views/morph.app.js1
2 files changed, 2 insertions, 4 deletions
diff --git a/app/client/modules/morph/morph.tasks.js b/app/client/modules/morph/morph.tasks.js
index ad88fc0..ba0f6b9 100644
--- a/app/client/modules/morph/morph.tasks.js
+++ b/app/client/modules/morph/morph.tasks.js
@@ -13,10 +13,7 @@ export const morph_task = (state, folder) => dispatch => {
activity: 'morph',
dataset: state.a,
folder_id: folder.id,
- opt: {
- ...state,
- dataset_module: 'pix2pihd',
- },
+ opt: state,
}
return actions.queue.add_task(task)
}
diff --git a/app/client/modules/morph/views/morph.app.js b/app/client/modules/morph/views/morph.app.js
index e1480ba..c135973 100644
--- a/app/client/modules/morph/views/morph.app.js
+++ b/app/client/modules/morph/views/morph.app.js
@@ -21,6 +21,7 @@ class MorphResults extends Component {
constructor(props){
super()
this.state = {
+ dataset_module: 'pix2pihd',
a: "",
b: "",
a_offset: 0,