fix var name

This commit is contained in:
Valentin Mihai 2024-02-16 17:48:47 +02:00
parent 82b11d2eba
commit 6f255d68b4

View File

@ -26,7 +26,7 @@ export class EditableInputComponent implements OnChanges {
@Input() helpModeKey: string = '';
@Input() lastChild = false;
@Output() readonly save = new EventEmitter<string>();
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);
}