[ADF-4798] - [adf-content-node-selector] File icons are not showing properly (#5054)

This commit is contained in:
dhrn 2019-09-09 20:18:12 +05:30 committed by Eugenio Romano
parent 46247c6351
commit f698892973

View File

@ -225,8 +225,10 @@ export class ContentNodeDialogService {
private imageResolver(row: ShareDataRow): string | null {
const entry: Node = row.node.entry;
if (!this.contentService.hasAllowableOperations(entry, 'create')) {
if (this.isNodeFolder(entry)) {
return this.thumbnailService.getMimeTypeIcon('disable/folder');
}
}
return null;
}