From f936486333ff2ca5c9ded88561a83d568ea1f4aa Mon Sep 17 00:00:00 2001 From: Steven Guiheux Date: Tue, 18 Jun 2019 14:23:58 +0200 Subject: [PATCH] fix(ui): add static param --- ui/src/app/shared/conditions/conditions.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/app/shared/conditions/conditions.component.ts b/ui/src/app/shared/conditions/conditions.component.ts index 779b57809b..8618015d7a 100644 --- a/ui/src/app/shared/conditions/conditions.component.ts +++ b/ui/src/app/shared/conditions/conditions.component.ts @@ -52,7 +52,7 @@ export class ConditionsComponent extends Table implements @Output() conditionsChange = new EventEmitter(); - @ViewChild('textareaCodeMirror') codemirror: CodemirrorComponent; + @ViewChild('textareaCodeMirror', {static: false}) codemirror: CodemirrorComponent; codeMirrorConfig: any; isAdvanced = false; suggest: Array = [];