mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
fix image paths for components (#1696)
* fix Login image paths * fix TaskList image paths * fix DocumentList image paths * fix Search image paths
This commit is contained in:
committed by
Mario Romano
parent
f85d9a5934
commit
e2ced9ff9a
@@ -68,7 +68,7 @@ export class AlfrescoSearchAutocompleteComponent implements OnInit, OnChanges {
|
||||
|
||||
@ViewChild('resultsTableBody', {}) resultsTableBody: ElementRef;
|
||||
|
||||
baseComponentPath: string = module.id.replace('/components/alfresco-search-autocomplete.component.js', '');
|
||||
baseComponentPath: string = module.id.replace('components/alfresco-search-autocomplete.component.js', '');
|
||||
|
||||
constructor(private searchService: AlfrescoSearchService,
|
||||
private translateService: AlfrescoTranslationService,
|
||||
@@ -130,12 +130,12 @@ export class AlfrescoSearchAutocompleteComponent implements OnInit, OnChanges {
|
||||
return this.resolveIconPath(icon);
|
||||
}
|
||||
if (node.entry.isFolder) {
|
||||
return `${this.baseComponentPath}/assets/images/ft_ic_folder.svg`;
|
||||
return `${this.baseComponentPath}assets/images/ft_ic_folder.svg`;
|
||||
}
|
||||
}
|
||||
|
||||
resolveIconPath(icon: string): string {
|
||||
return `${this.baseComponentPath}/assets/images/${icon}`;
|
||||
return `${this.baseComponentPath}assets/images/${icon}`;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user