Skip to content

Commit

Permalink
Bugfix: Error when storage alias undefined (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito authored Feb 12, 2025
1 parent fe8ba0e commit ba77bd2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "data-portal-ui",
"version": "1.4.2",
"version": "1.4.3",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "~6.6.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const FilesTable = (props: FilesTableProps) => {
{
header: "File Location",
data: allFiles.map((x) =>
x.storage_alias.replace(
x.storage_alias?.replace(
/^[A-Z]+/,
(m: string) => (STORAGE_LOCATIONS[m] ?? m) + " "
)
Expand Down

0 comments on commit ba77bd2

Please sign in to comment.