mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
fix AOT
This commit is contained in:
@@ -172,15 +172,12 @@ export class SearchControlComponent implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getMimeTypeIcon(node: NodeEntry): string {
|
getMimeTypeIcon(node: NodeEntry): string {
|
||||||
let mimeType;
|
const mimeType = this.getMimeType(node);
|
||||||
|
|
||||||
mimeType = this.getMimeType(node);
|
|
||||||
|
|
||||||
return this.thumbnailService.getMimeTypeIcon(mimeType);
|
return this.thumbnailService.getMimeTypeIcon(mimeType);
|
||||||
}
|
}
|
||||||
|
|
||||||
private getMimeType(node: NodeEntry) {
|
getMimeType(node: NodeEntry): string {
|
||||||
let mimeType;
|
let mimeType: string;
|
||||||
|
|
||||||
if (node.entry.content && node.entry.content.mimeType) {
|
if (node.entry.content && node.entry.content.mimeType) {
|
||||||
mimeType = node.entry.content.mimeType;
|
mimeType = node.entry.content.mimeType;
|
||||||
|
Reference in New Issue
Block a user