diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-26 17:01:49 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-26 17:01:49 +0200 |
| commit | 216f240c8ac0a33d920aa467600a777a974d2db9 (patch) | |
| tree | 73ca17b38b2be1d039974f70f2e7f7a9c1a65395 /app/client/modules | |
| parent | 10d422f5b23f466a828c69890d9e62e515f8f686 (diff) | |
deploy bundle
Diffstat (limited to 'app/client/modules')
| -rw-r--r-- | app/client/modules/morph/morph.reducer.js | 7 | ||||
| -rw-r--r-- | app/client/modules/morph/views/morph.app.js | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/app/client/modules/morph/morph.reducer.js b/app/client/modules/morph/morph.reducer.js index 99e2001..5c46a4e 100644 --- a/app/client/modules/morph/morph.reducer.js +++ b/app/client/modules/morph/morph.reducer.js @@ -16,16 +16,13 @@ const morphReducer = (state = morphInitialState, action) => { } switch (action.type) { - case types.morph.load_results: - return { - ...state, - results: action.results, - } case types.morph.load: console.log('morph load', action.app) return { ...state, app: action.app, + loading: false, + data: action.data, } case types.file.create: console.log(action) diff --git a/app/client/modules/morph/views/morph.app.js b/app/client/modules/morph/views/morph.app.js index 5848616..1385e98 100644 --- a/app/client/modules/morph/views/morph.app.js +++ b/app/client/modules/morph/views/morph.app.js @@ -102,7 +102,7 @@ class MorphResults extends Component { <Select title={"Mode"} value={this.state.mode} - options={['mix', 'average']} + options={['mix', 'average', 'mix_images']} onChange={key => this.setState({ mode: key })} /> <Slider |
