aboutsummaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react/src/components/dialogs/GetLocalToscaFileForUpload.js
diff options
context:
space:
mode:
Diffstat (limited to 'gui-clamp/ui-react/src/components/dialogs/GetLocalToscaFileForUpload.js')
-rw-r--r--gui-clamp/ui-react/src/components/dialogs/GetLocalToscaFileForUpload.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui-clamp/ui-react/src/components/dialogs/GetLocalToscaFileForUpload.js b/gui-clamp/ui-react/src/components/dialogs/GetLocalToscaFileForUpload.js
index f159280..bac9953 100644
--- a/gui-clamp/ui-react/src/components/dialogs/GetLocalToscaFileForUpload.js
+++ b/gui-clamp/ui-react/src/components/dialogs/GetLocalToscaFileForUpload.js
@@ -50,14 +50,17 @@ const GetLocalToscaFileForUpload = (props) => {
const [alertMessages, setAlertMessages] = useState();
const handleClose = () => {
+ console.log('handleClose called');
setShow(false);
props.history.push('/');
}
const fileChangeHandler = (event) => {
event.preventDefault();
+ console.log('fileChangeHandler called');
if (event.currentTarget.files[0] !== undefined) {
+ console.log('file defined');
setSelectedFile(event.currentTarget.files[0]);
setFileIsSelected(true);