summaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react/src/api/UploadToscaFile.js
diff options
context:
space:
mode:
Diffstat (limited to 'gui-clamp/ui-react/src/api/UploadToscaFile.js')
-rw-r--r--gui-clamp/ui-react/src/api/UploadToscaFile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui-clamp/ui-react/src/api/UploadToscaFile.js b/gui-clamp/ui-react/src/api/UploadToscaFile.js
index 1bde9e7..4173e0d 100644
--- a/gui-clamp/ui-react/src/api/UploadToscaFile.js
+++ b/gui-clamp/ui-react/src/api/UploadToscaFile.js
@@ -26,8 +26,8 @@ const UploadToscaFile = (props) => {
const [windowLocationPathName, setWindowLocationPathname] = useState('');
const postServiceTemplateHandler = async (event) => {
-
event.preventDefault();
+ console.log('postServiceTemplateHandler called');
setWindowLocationPathname(window.location.pathname);
const response = await fetch(windowLocationPathName +