[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:
madhukar23
2017-12-12 19:52:02 +05:30
committed by Maurizio Vitale
parent 3e52127b5c
commit b3fb51e06d

View File

@@ -54,7 +54,9 @@ export class CardViewTextItemComponent implements OnChanges {
setEditMode(editStatus: boolean): void {
this.inEdit = editStatus;
setTimeout(() => {
if(this.editorInput) {
this.editorInput.nativeElement.click();
}
}, 0);
}