Skip to content

Commit

Permalink
RHOAIENG-13981: File dependencies browsing does not select file
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovmr committed Oct 4, 2024
1 parent 74e88cf commit 3edf0f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/ui-components/src/BrowseFileDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ export const showBrowseFileDialog = async (
const relativeToPath = options.rootPath.endsWith('/')
? options.rootPath
: options.rootPath + '/';
result.value.forEach((val: string) => {
val = val.replace(relativeToPath, '');
result.value = result.value.map((val: string) => {
return val.replace(relativeToPath, '');
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"app_data": {
"component_parameters": {
"dependencies": [
"scripts/setup.txt"
"setup.txt"
],
"include_subdirectories": false,
"outputs": [],
Expand Down

0 comments on commit 3edf0f9

Please sign in to comment.