@elyra/application
Advanced tools
Comparing version 0.9.0-dev to 0.9.0
@@ -5,2 +5,3 @@ import { Dialog } from '@jupyterlab/apputils'; | ||
static handle404(submissionType: string): Promise<Dialog.IResult<any>>; | ||
static noMetadataError(metadataName: string): Promise<Dialog.IResult<any>>; | ||
static makeGetRequest(requestExt: string, submissionType: string, dialogCallback: (results: any) => void): void; | ||
@@ -7,0 +8,0 @@ static makePostRequest(requestExt: string, requestBody: any, submissionType: string, dialogCallback: (results: any) => void): void; |
@@ -48,2 +48,12 @@ /* | ||
} | ||
static noMetadataError(metadataName) { | ||
return showDialog({ | ||
title: 'Could not submit', | ||
body: React.createElement("p", null, | ||
"No ", | ||
metadataName, | ||
" metadata has been configured."), | ||
buttons: [Dialog.okButton()] | ||
}); | ||
} | ||
static makeGetRequest(requestExt, submissionType, dialogCallback) { | ||
@@ -50,0 +60,0 @@ this.makeServerRequest(requestExt, { method: 'GET' }, submissionType, dialogCallback); |
{ | ||
"name": "@elyra/application", | ||
"version": "0.9.0-dev", | ||
"version": "0.9.0", | ||
"description": "JupyterLab - Widgets and utilities for use in elyra", | ||
@@ -39,3 +39,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "ff064634622f70237b1886452e18e2ad6d399656" | ||
"gitHead": "ffc52639e05d2dbb3b75eb7db5016c710e9b2970" | ||
} |
Sorry, the diff of this file is not supported yet
40562
346