diff --git a/frontend/src/app/components/protected/create/hyper-ide/components/parametrise-action-dialog/components/codemirror-sql-formly.component.ts b/frontend/src/app/components/protected/create/hyper-ide/components/parametrise-action-dialog/components/codemirror-sql-formly.component.ts
index ecdf73cc01..b0e41a9c78 100644
--- a/frontend/src/app/components/protected/create/hyper-ide/components/parametrise-action-dialog/components/codemirror-sql-formly.component.ts
+++ b/frontend/src/app/components/protected/create/hyper-ide/components/parametrise-action-dialog/components/codemirror-sql-formly.component.ts
@@ -17,7 +17,8 @@ import { SqlService } from 'src/app/services/sql.service';
*/
@Component({
selector: 'app-codemirror-formly',
- template: ``,
+ template: ``,
+ styleUrls: ['./codemirror-sql-formly.scss']
})
export class CodemirrorSqlFormlyComponent extends FieldType implements OnInit {
@@ -106,12 +107,12 @@ export class CodemirrorSqlFormlyComponent extends FieldType imp
next: (result: Databases) => {
- this.databases = result;
this.generalService.hideLoading();
+ this.databases = result;
this.databaseChanged();
},
- error: (error: any) => {
+ error: () => {
this.generalService.hideLoading();
this.generalService.showFeedback('Not a valid database-type/connection-string combination', 'errorMessage');
diff --git a/frontend/src/app/components/protected/create/hyper-ide/components/parametrise-action-dialog/components/codemirror-sql-formly.scss b/frontend/src/app/components/protected/create/hyper-ide/components/parametrise-action-dialog/components/codemirror-sql-formly.scss
new file mode 100644
index 0000000000..2f029b72a3
--- /dev/null
+++ b/frontend/src/app/components/protected/create/hyper-ide/components/parametrise-action-dialog/components/codemirror-sql-formly.scss
@@ -0,0 +1,4 @@
+
+::ng-deep .sql-formly-editor .CodeMirror {
+ max-height: 150px;
+}