From 392edbae1a4e223dbfb6dda6f166b706f40c7a2b Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Wed, 22 Apr 2020 14:46:47 +0300 Subject: [PATCH] Fix typo --- .../action/custom-action-pretty-resources-tabs.component.ts | 4 ++-- .../app/modules/home/pages/widget/widget-editor.component.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/action/custom-action-pretty-resources-tabs.component.ts b/ui-ngx/src/app/modules/home/components/widget/action/custom-action-pretty-resources-tabs.component.ts index 0cc21fd2b3..afdd2a476e 100644 --- a/ui-ngx/src/app/modules/home/components/widget/action/custom-action-pretty-resources-tabs.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/action/custom-action-pretty-resources-tabs.component.ts @@ -151,8 +151,8 @@ export class CustomActionPrettyResourcesTabsComponent extends PageComponent impl } private initAceEditors() { - this.aceResize$ = new ResizeObserver((enteris) => { - enteris.forEach((entry) => { + this.aceResize$ = new ResizeObserver((entries) => { + entries.forEach((entry) => { const editor = this.aceEditors.find(aceEditor => aceEditor.container === entry.target); this.onAceEditorResize(editor); }) diff --git a/ui-ngx/src/app/modules/home/pages/widget/widget-editor.component.ts b/ui-ngx/src/app/modules/home/pages/widget/widget-editor.component.ts index 0c685151df..9d6a172895 100644 --- a/ui-ngx/src/app/modules/home/pages/widget/widget-editor.component.ts +++ b/ui-ngx/src/app/modules/home/pages/widget/widget-editor.component.ts @@ -270,8 +270,8 @@ export class WidgetEditorComponent extends PageComponent implements OnInit, OnDe } private initAceEditors() { - this.aceResize$ = new ResizeObserver((enteris) => { - enteris.forEach((entry) => { + this.aceResize$ = new ResizeObserver((entries) => { + entries.forEach((entry) => { const editor = this.aceEditors.find(aceEditor => aceEditor.container === entry.target); this.onAceEditorResize(editor); })