| Index: ui/file_manager/file_manager/foreground/js/file_table.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/file_table.js b/ui/file_manager/file_manager/foreground/js/file_table.js
|
| index 5a217a9e6d5aa5c1db11381033411e2adcce2207..d568c03c0262074529f65bc909b21e0889fb3eaa 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/file_table.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/file_table.js
|
| @@ -821,10 +821,13 @@ filelist.updateListItemDriveProps = function(li, driveProps) {
|
| // crbug.com/246611.
|
| }
|
|
|
| - if (driveProps.customIconUrl) {
|
| - var iconDiv = li.querySelector('.detail-icon');
|
| - if (!iconDiv)
|
| - return;
|
| + var iconDiv = li.querySelector('.detail-icon');
|
| + if (!iconDiv)
|
| + return;
|
| +
|
| + if (driveProps.customIconUrl)
|
| iconDiv.style.backgroundImage = 'url(' + driveProps.customIconUrl + ')';
|
| - }
|
| +
|
| + if (li.classList.contains('directory'))
|
| + iconDiv.classList.toggle('shared', driveProps.shared);
|
| };
|
|
|