mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
tslint arrow-parens rule (#4003)
This commit is contained in:
@@ -58,7 +58,7 @@ export class TxtViewerComponent implements OnChanges {
|
||||
|
||||
private getUrlContent(url: string): Promise<any> {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.http.get(url, { responseType: 'text' }).subscribe(res => {
|
||||
this.http.get(url, { responseType: 'text' }).subscribe((res) => {
|
||||
this.content = res;
|
||||
resolve();
|
||||
}, (event) => {
|
||||
|
Reference in New Issue
Block a user