@elyra/application
Advanced tools
Comparing version 0.6.2 to 0.7.0
@@ -26,3 +26,3 @@ /* | ||
: res_body; | ||
const default_body = 'More details might be available in the JupyterLab console logs'; | ||
const default_body = 'Check the JupyterLab log for more details.'; | ||
return showDialog({ | ||
@@ -40,3 +40,3 @@ title: 'Error submitting ' + submissionType, | ||
title: 'Error submitting ' + submissionType, | ||
body: 'Elyra service endpoint not available', | ||
body: React.createElement("p", null, "Elyra service endpoint not found."), | ||
buttons: [Dialog.okButton()] | ||
@@ -66,6 +66,2 @@ }); | ||
waitDialog.resolve(); | ||
// handle 404 if elyra server extension is not found | ||
if (response.status === 404) { | ||
return this.handle404(submissionType); | ||
} | ||
response.json().then((result) => { | ||
@@ -76,2 +72,5 @@ if (response.status !== 200) { | ||
return dialogCallback(result); | ||
}, (reason) => { | ||
// handle 404 if elyra server extension is not found | ||
return this.handle404(submissionType); | ||
}); | ||
@@ -78,0 +77,0 @@ }); |
{ | ||
"name": "@elyra/application", | ||
"version": "0.6.2", | ||
"version": "0.7.0", | ||
"description": "JupyterLab - Widgets and utilities for use in elyra", | ||
@@ -39,3 +39,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "b2bf18ef33d5c567a843be29d2d4f521a9ad478d" | ||
"gitHead": "262f75e7cd7b86e0117b6f60f0d557c971c49ace" | ||
} |
Sorry, the diff of this file is not supported yet
33006
224