From 6f255d68b49e921ff458a59056c8bad6cede4abd Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Fri, 16 Feb 2024 17:48:47 +0200 Subject: [PATCH] fix var name --- src/lib/inputs/editable-input/editable-input.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/inputs/editable-input/editable-input.component.ts b/src/lib/inputs/editable-input/editable-input.component.ts index f21854a..fbc24f2 100644 --- a/src/lib/inputs/editable-input/editable-input.component.ts +++ b/src/lib/inputs/editable-input/editable-input.component.ts @@ -26,7 +26,7 @@ export class EditableInputComponent implements OnChanges { @Input() helpModeKey: string = ''; @Input() lastChild = false; @Output() readonly save = new EventEmitter(); - textAreaSize?: { width: number; height: number }; + textArea?: { width: number; height: number }; newValue = ''; private _editing = false; @@ -60,7 +60,7 @@ export class EditableInputComponent implements OnChanges { const lastChildIndex = Number(this.id?.split('-')[2]); height = height - lastChildIndex * element.offsetHeight; } - this.textAreaSize = { width, height }; + this.textArea = { width, height }; }, 50); }