We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2637dc7 commit 34af61aCopy full SHA for 34af61a
src/ldf-client-ui.js
@@ -553,7 +553,13 @@ require('yasgui-yasqe/dist/yasqe.css'); // Make webpack import the css as well
553
// Let the worker execute the query
554
var context = {
555
sources: datasources.map(function (datasource) {
556
- return { type: 'auto', value: datasource };
+ var type = 'auto';
557
+ var posAt = datasource.indexOf('@');
558
+ if (posAt > 0) {
559
+ type = datasource.substr(0, posAt);
560
+ datasource = datasource.substr(posAt + 1, datasource.length);
561
+ }
562
+ return { type: type, value: datasource };
563
}),
564
datetime: parseDate(this.options.datetime),
565
queryFormat: this.options.queryFormat,
0 commit comments