mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
committed by
Eugenio Romano
parent
8959476941
commit
0b246b8211
@@ -41,7 +41,6 @@ export class ShareDataTableAdapter implements DataTableAdapter {
|
||||
selectedRow: DataRow;
|
||||
|
||||
constructor(private documentListService: DocumentListService,
|
||||
private basePath: string,
|
||||
schema: DataColumn[] = []) {
|
||||
this.rows = [];
|
||||
this.columns = schema || [];
|
||||
@@ -223,7 +222,7 @@ export class ShareDataTableAdapter implements DataTableAdapter {
|
||||
}
|
||||
|
||||
getImagePath(id: string): any {
|
||||
return `${this.basePath}assets/images/${id}`;
|
||||
return require('../assets/images/' + id);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user