Skip to content

Commit 6f8785d

Browse files
committed
Fix context not being shown when intial query is graphql
1 parent 9b6880b commit 6f8785d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ldf-client-ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ require('yasgui-yasqe/dist/yasqe.css'); // Make webpack import the css as well
409409
!value.some(function (v) { return v.query === options.query; }) && value[0]) {
410410
this._setOption('queryFormat', value[0].queryFormat);
411411
this._setOption('query', value[0].query);
412-
this._setOption('queryContext', value[0].queryContext);
412+
this._setOption('queryContext', value[0].context);
413413

414414
// Special-case: if the first query has more than 2 sources, and we were initialized with 1 transient datasource, update the list of datasources
415415
if (value[0].datasources.length > 1 &&

0 commit comments

Comments
 (0)