We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41d588e commit 9801a72Copy full SHA for 9801a72
src/commands/dataSourceCommand.ts
@@ -82,6 +82,17 @@ export async function populateScratchpad(
82
dataSourceForm: DataSourceFiles,
83
connLabel: string,
84
): Promise<void> {
85
+ if (dataSourceForm.dataSource.selectedType === DataSourceTypes.QSQL) {
86
+ window.showErrorMessage(
87
+ "The query enviroment(s) are disabled for this connection",
88
+ );
89
+ kdbOutputLog(
90
+ `[DATASOURCE] The query enviroment(s) are disabled for this connection`,
91
+ "ERROR",
92
+ true,
93
94
+ return;
95
+ }
96
const scratchpadVariable: InputBoxOptions = {
97
prompt: scratchpadVariableInput.prompt,
98
placeHolder: scratchpadVariableInput.placeholder,
0 commit comments