diff --git a/frontend/src/shared-dir-view.js b/frontend/src/shared-dir-view.js index 85326b1d6b..dfd09016f0 100644 --- a/frontend/src/shared-dir-view.js +++ b/frontend/src/shared-dir-view.js @@ -389,11 +389,13 @@ class Content extends React.Component {
+ } | - | {gettext('Name')} {sortBy == 'name' && sortIcon} | +{gettext('Name')} {sortBy == 'name' && sortIcon} | {gettext('Size')} {sortBy == 'size' && sortIcon} | {gettext('Last Update')} {sortBy == 'time' && sortIcon} | @@ -464,9 +466,11 @@ class Item extends React.Component { if (item.is_dir) { return isDesktop ? ( |
---|---|---|---|---|---|---|
- - | + {showDownloadIcon && ++ + | + }{item.folder_name} @@ -514,9 +518,11 @@ class Item extends React.Component { const thumbnailURL = item.encoded_thumbnail_src ? `${siteRoot}${item.encoded_thumbnail_src}` : ''; return isDesktop ? ( | ||||
- - | + {showDownloadIcon && ++ + | + }
{thumbnailURL ?
|