mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
fix error handling and "this" context (#1445)
* fix error handling and "this" context * fix typo
This commit is contained in:
@@ -61,7 +61,7 @@ export class DropdownWidget extends WidgetComponent implements OnInit {
|
||||
this.field.options = options.concat((result || []));
|
||||
this.field.updateForm();
|
||||
},
|
||||
this.handleError
|
||||
err => this.handleError(err)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ export class DropdownWidget extends WidgetComponent implements OnInit {
|
||||
this.field.options = options.concat((result || []));
|
||||
this.field.updateForm();
|
||||
},
|
||||
this.handleError
|
||||
err => this.handleError(err)
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user