diff options
author | Manuel Palenzuela Merino <manuel.palenzuela@datadoghq.com> | 2024-07-13 09:55:44 +0200 |
---|---|---|
committer | Manuel Palenzuela Merino <manuel.palenzuela@datadoghq.com> | 2024-07-13 09:55:44 +0200 |
commit | 6b8b2d50918c86a1785e26eb2e03c02bfa021b88 (patch) | |
tree | b9e4e5344ce3580129ccd322e03cd1352d135651 /src/components/Other/FSTracerFile.tsx | |
parent | Pages: File: Dont show if file doesnt exist (diff) | |
download | fs-tracer-frontend-6b8b2d50918c86a1785e26eb2e03c02bfa021b88.tar.gz fs-tracer-frontend-6b8b2d50918c86a1785e26eb2e03c02bfa021b88.tar.bz2 fs-tracer-frontend-6b8b2d50918c86a1785e26eb2e03c02bfa021b88.zip |
Pages: File: Have path be based on fileID instead of path
Diffstat (limited to 'src/components/Other/FSTracerFile.tsx')
-rw-r--r-- | src/components/Other/FSTracerFile.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Other/FSTracerFile.tsx b/src/components/Other/FSTracerFile.tsx index 61c8e35..2bc58b4 100644 --- a/src/components/Other/FSTracerFile.tsx +++ b/src/components/Other/FSTracerFile.tsx @@ -6,7 +6,7 @@ interface FileComponentProps { export default function FileComponent(props: FileComponentProps) { return ( - <a href={`/file/${encodeURIComponent(props.file.absolute_path)}`}> + <a href={`/file/${encodeURIComponent(props.file.id)}`}> <p className="underline">file: {props.file.absolute_path}</p> </a> ) |