Skip to content

Commit 6f42395

Browse files
#145 renamed dataUrl data.preview .config setting to dataUri for remote data sources config
to be more consistent with vscode api's
1 parent 06f03fb commit 6f42395

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/data.view.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -567,9 +567,9 @@
567567
dataTable: dataTable,
568568
config: parseConfig(viewConfig)
569569
};
570-
if (dataUrl.startsWith('http')) {
571-
// append remote data url
572-
data['dataUrl'] = dataUrl;
570+
if (dataUrl.startsWith('http://') || dataUrl.startsWith('https://')) {
571+
// append remote data uri
572+
data['dataUri'] = dataUrl;
573573
}
574574
postData(data, dataFileType);
575575
break;

0 commit comments

Comments
 (0)