mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2069] Error is displayed on console when adding a description to a task. (#2779)
* Fixed the console error coming while adding description or priority in task details
This commit is contained in:
committed by
Maurizio Vitale
parent
3e52127b5c
commit
b3fb51e06d
@@ -54,7 +54,9 @@ export class CardViewTextItemComponent implements OnChanges {
|
|||||||
setEditMode(editStatus: boolean): void {
|
setEditMode(editStatus: boolean): void {
|
||||||
this.inEdit = editStatus;
|
this.inEdit = editStatus;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.editorInput.nativeElement.click();
|
if(this.editorInput) {
|
||||||
|
this.editorInput.nativeElement.click();
|
||||||
|
}
|
||||||
}, 0);
|
}, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user