refactor core

This commit is contained in:
Eugenio Romano
2021-08-15 20:07:50 +02:00
parent b8e7e79b26
commit b04308deaa
27 changed files with 160 additions and 93 deletions

View File

@@ -31,7 +31,9 @@ import { DownloadService } from '../services/download.service';
})
export class NodeDownloadDirective {
private contentApi: ContentApi;
get contentApi(): ContentApi {
return new ContentApi(this.apiService.getInstance());
}
/** Nodes to download. */
@Input('adfNodeDownload')
@@ -50,7 +52,6 @@ export class NodeDownloadDirective {
private apiService: AlfrescoApiService,
private downloadService: DownloadService,
private dialog: MatDialog) {
this.contentApi = new ContentApi(this.apiService.getInstance());
}
/**