+
+
+ {recentAccessItem.type}
+
+
+
+ {selectedSort === recentlyViewed
+ ? i18n.translate('savedObjectsManagement.recentWorkSection.viewedAt', {
+ defaultMessage: 'Viewed',
+ })
+ : i18n.translate('savedObjectsManagement.recentWorkSection.updatedAt', {
+ defaultMessage: 'Updated',
+ })}
+ :{' '}
+
+ {selectedSort === recentlyViewed
+ ? moment(recentAccessItem?.lastAccessedTime).fromNow()
+ : moment(recentAccessItem?.updatedAt).fromNow()}
+
+
+ {workspaceEnabled && (
+
+ {i18n.translate('savedObjectsManagement.recentWorkSection.workspace', {
+ defaultMessage: 'Workspace',
+ })}
+ : {recentAccessItem.workspaceName || 'N/A'}
+
+ )}
+ >
+ }
+ onClick={recentNavLink.onClick}
+ />
+ );
+ }
+ return (
+ {content}
+ );
+ })}
+