From 0b7f934ac900f7427dc77068ef33255977c533e7 Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Thu, 24 Oct 2024 11:30:38 -0400 Subject: [PATCH] chore(edit-content): fix error #29875 --- .../dot-form-file-editor.component.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-form-file-editor/dot-form-file-editor.component.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-form-file-editor/dot-form-file-editor.component.ts index f30aaaff27b3..edc56360c0ed 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-form-file-editor/dot-form-file-editor.component.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-form-file-editor/dot-form-file-editor.component.ts @@ -1,7 +1,4 @@ -import { - MonacoEditorConstructionOptions, - MonacoEditorModule -} from '@materia-ui/ngx-monaco-editor'; +import { MonacoEditorConstructionOptions, MonacoEditorModule } from '@materia-ui/ngx-monaco-editor'; import { ChangeDetectionStrategy, @@ -220,7 +217,7 @@ export class DotFormFileEditorComponent implements OnInit { */ #disableEditor() { if (!this.#editorRef) { - return + return; } this.form.disable(); @@ -237,7 +234,7 @@ export class DotFormFileEditorComponent implements OnInit { */ #enableEditor() { if (!this.#editorRef) { - return + return; } this.form.enable();