diff --git a/static/js/components/resourceList.js b/static/js/components/resourceList.js
index da5e8291..bcd97a67 100644
--- a/static/js/components/resourceList.js
+++ b/static/js/components/resourceList.js
@@ -713,7 +713,7 @@ export class ResourceListComponent {
${escapeHtml(relDate)}
- ${isShared && folder.owner_id ? `` : ''}
+ ${folder.owner_id ? `` : ''}
${cfg.showPath ? `${escapeHtml(folder.path || '')}
` : ''}
@@ -728,7 +728,7 @@ export class ResourceListComponent {
`;
el.querySelector('.resource-icon-slot')?.replaceWith(buildResourceIcon(folder, 'folder'));
- if (isShared && folder.owner_id) {
+ if (folder.owner_id) {
el.querySelector('.grid-meta__owner-slot')?.replaceWith(createUserVignette(folder.owner_id, 'xs', { showName: false }));
}
return el;
@@ -741,6 +741,7 @@ export class ResourceListComponent {
* @returns {HTMLElement}
*/
_createFileItem(file, labels) {
+ console.log(file);
const cfg = this._cfg;
const typeLabel = labels.fileTypeLabel(file.category || '');
const fileSize = file.size_formatted || formatFileSize(file.size);
@@ -775,7 +776,7 @@ export class ResourceListComponent {
${escapeHtml(relDate)}
${escapeHtml(fileSize)}
- ${isShared && file.owner_id ? `` : ''}
+ ${file.owner_id ? `` : ''}
${cfg.showPath ? `${escapeHtml(file.path || '')}
` : ''}
@@ -790,7 +791,7 @@ export class ResourceListComponent {
`;
el.querySelector('.resource-icon-slot')?.replaceWith(buildResourceIcon(file, 'file'));
- if (isShared && file.owner_id) {
+ if (file.owner_id) {
el.querySelector('.grid-meta__owner-slot')?.replaceWith(createUserVignette(file.owner_id, 'xs', { showName: false }));
}
return el;