summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/client/modules/pix2pixhd/pix2pixhd.actions.js40
1 files changed, 20 insertions, 20 deletions
diff --git a/app/client/modules/pix2pixhd/pix2pixhd.actions.js b/app/client/modules/pix2pixhd/pix2pixhd.actions.js
index 21c405c..8e481d3 100644
--- a/app/client/modules/pix2pixhd/pix2pixhd.actions.js
+++ b/app/client/modules/pix2pixhd/pix2pixhd.actions.js
@@ -123,29 +123,29 @@ export const load_directories = (id) => (dispatch) => {
resultsFolder,
},
})
- // if (id) {
- // console.log('folder id', id)
- // dispatch({
- // type: types.dataset.set_folder,
- // data: {
- // folder_id: id,
- // module
- // },
- // })
- // }
+ 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
- // },
- // })
- // }
+ if (id) {
+ console.log('folder id', id)
+ dispatch({
+ type: types.dataset.set_folder,
+ data: {
+ folder_id: id,
+ module
+ },
+ })
+ }
}
export const load_results = (id) => (dispatch) => {