diff --git a/packages/altair-app/src/app/modules/altair/components/query-editor/query-editor.component.html b/packages/altair-app/src/app/modules/altair/components/query-editor/query-editor.component.html index 0b1f22cf97..d8ff2125b4 100644 --- a/packages/altair-app/src/app/modules/altair/components/query-editor/query-editor.component.html +++ b/packages/altair-app/src/app/modules/altair/components/query-editor/query-editor.component.html @@ -67,6 +67,7 @@ [tabSize]="tabSize" [showVariableDialog]="showVariableDialog" [enableExperimental]="enableExperimental" + [betaDisableNewEditor]="betaDisableNewEditor" (variablesChange)="variablesChange.emit($event)" > diff --git a/packages/altair-app/src/app/modules/altair/components/variables-editor/variables-editor.component.html b/packages/altair-app/src/app/modules/altair/components/variables-editor/variables-editor.component.html index 1e9fdf43b9..1b269c9870 100644 --- a/packages/altair-app/src/app/modules/altair/components/variables-editor/variables-editor.component.html +++ b/packages/altair-app/src/app/modules/altair/components/variables-editor/variables-editor.component.html @@ -1,5 +1,5 @@ { + if (this.newEditor?.view) { + updateSchema( + this.newEditor.view, + vttToJsonSchema(this.variableToType) + ); + } + }, 10); + } } onKeyUp(cm: CodeMirror.Editor, event: KeyboardEvent) {