diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-22 17:23:30 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-22 17:23:30 +0200 |
| commit | 3347e241b860001721cb8c07fc6a82b51f97335e (patch) | |
| tree | 3206b1f8c86074002278a22c7447fa0888e1f896 /app/client/modules/pix2wav | |
| parent | a3573815ed1f6f2cc1388ae91cc7d07eb9980785 (diff) | |
deploy bundle
Diffstat (limited to 'app/client/modules/pix2wav')
| -rw-r--r-- | app/client/modules/pix2wav/pix2wav.actions.js | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/app/client/modules/pix2wav/pix2wav.actions.js b/app/client/modules/pix2wav/pix2wav.actions.js index 48d0496..5d1c549 100644 --- a/app/client/modules/pix2wav/pix2wav.actions.js +++ b/app/client/modules/pix2wav/pix2wav.actions.js @@ -79,18 +79,17 @@ export const load_directories = (id) => (dispatch) => { checkpoints: checkpointDirectories.concat(pix2pixCheckpointDirectories), }, }) - - if (id) { - console.log('folder id', id) - dispatch({ - type: types.dataset.set_folder, - data: { - folder_id: id, - module - }, - }) - } }).catch(e => { console.error(e) }) + if (id) { + console.log('folder id', id) + dispatch({ + type: types.dataset.set_folder, + data: { + folder_id: id, + module + }, + }) + } } |
