Skip to content

Commit

Permalink
remove namespace from parent_path string, increment version
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Luu committed Feb 22, 2024
1 parent c15ac91 commit aebac66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pilotdataplatform/arranger-components",
"version": "1.5.6",
"version": "1.5.7",
"description": "Data Portal Components",
"main": "dist/index.js",
"publishConfig": {
Expand Down
4 changes: 4 additions & 0 deletions modules/components/src/DataTable/searchTableTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ const renderParentPath = (path) => {
return path.replace('shared', 'Project Folder');
}

if (path?.includes('namefolder/')) {
return path.replace('namefolder/', '');
}

return path;
};

Expand Down

0 comments on commit aebac66

Please sign in to comment.