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/pix2pixhd | |
| parent | a3573815ed1f6f2cc1388ae91cc7d07eb9980785 (diff) | |
deploy bundle
Diffstat (limited to 'app/client/modules/pix2pixhd')
| -rw-r--r-- | app/client/modules/pix2pixhd/pix2pixhd.actions.js | 10 | ||||
| -rw-r--r-- | app/client/modules/pix2pixhd/views/pix2pixhd.live.js | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/app/client/modules/pix2pixhd/pix2pixhd.actions.js b/app/client/modules/pix2pixhd/pix2pixhd.actions.js index 370597b..8e481d3 100644 --- a/app/client/modules/pix2pixhd/pix2pixhd.actions.js +++ b/app/client/modules/pix2pixhd/pix2pixhd.actions.js @@ -136,6 +136,16 @@ export const load_directories = (id) => (dispatch) => { }).catch(e => { console.error(e) }) + if (id) { + console.log('folder id', id) + dispatch({ + type: types.dataset.set_folder, + data: { + folder_id: id, + module + }, + }) + } } export const load_results = (id) => (dispatch) => { diff --git a/app/client/modules/pix2pixhd/views/pix2pixhd.live.js b/app/client/modules/pix2pixhd/views/pix2pixhd.live.js index a6da1ec..1700128 100644 --- a/app/client/modules/pix2pixhd/views/pix2pixhd.live.js +++ b/app/client/modules/pix2pixhd/views/pix2pixhd.live.js @@ -126,6 +126,7 @@ class Pix2PixHDLive extends Component { min={0.0} max={2.0} type='float' /> {this.renderRestartButton()} + {this.renderLiveButtons()} {this.renderRecordButton()} <p class='last_message'>{this.props.last_message}</p> </ParamGroup> @@ -281,7 +282,6 @@ class Pix2PixHDLive extends Component { title={'GPU Busy'} onClick={() => this.interrupt()} >Interrupt</Button> - {this.renderLiveButtons()} </div> ) } |
