mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
create bundle for all components
This commit is contained in:
@@ -337,16 +337,7 @@ export class ShareDataTableAdapter implements DataTableAdapter, PaginationProvid
|
||||
}
|
||||
|
||||
getImagePath(id: string): any {
|
||||
try {
|
||||
// webpack
|
||||
return require(`./../img/${id}`);
|
||||
} catch (e) {
|
||||
// system.js
|
||||
if (module && module.id) {
|
||||
return `${this.basePath}/img/${id}`;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
return `${this.basePath}/assets/images/${id}`;
|
||||
}
|
||||
|
||||
private resetPagination() {
|
||||
|
Reference in New Issue
Block a user