diff --git a/modules/components/src/DataTable/searchTableTypes.js b/modules/components/src/DataTable/searchTableTypes.js index e987bf0b8..abf73a53c 100644 --- a/modules/components/src/DataTable/searchTableTypes.js +++ b/modules/components/src/DataTable/searchTableTypes.js @@ -56,12 +56,8 @@ const renderDate = (text) => { const renderIcon = (_, record) => (record.type === 'file' ? : ); const renderParentPath = (path) => { - if (path?.includes('shared')) { - return path.replace('shared', 'Project Folder'); - } - if (path?.includes('namefolder/')) { - return path.replace('namefolder/', ''); + return path.replace('namefolder/', 'users/'); } return path;