Skip to content

Commit

Permalink
Update installation args with the absolute path to the selected PAX i…
Browse files Browse the repository at this point in the history
…f the user selects the upload installation type

Signed-off-by: Timothy Gerstel <[email protected]>
  • Loading branch information
timgerstel committed Sep 13, 2023
1 parent acac3ee commit 72a6838
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,10 @@ const InstallationType = () => {
window.electron.ipcRenderer.uploadPax().then((res: any) => {
if(res.filePaths && res.filePaths[0] != undefined){
setPaxPath(res.filePaths[0]);
dispatch(setInstallationArgs({...installationArgs, userUploadedPaxPath: res.filePaths[0]}));
} else {
setPaxPath("");
dispatch(setInstallationArgs({...installationArgs, userUploadedPaxPath: ''}));
}
});
}}>Upload PAX</Button>
Expand Down

0 comments on commit 72a6838

Please sign in to comment.