about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-08-18 21:05:08 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-08-18 21:05:08 +0200
commit99fd033258e0af8bfa7c26bc8cfb72f61f66676a (patch)
tree604a461ddb2d0609451769bf4beea99fd5fee6a6
parentPages: Home: Remove active hosts placeholder (diff)
downloadfs-tracer-frontend-99fd033258e0af8bfa7c26bc8cfb72f61f66676a.tar.gz
fs-tracer-frontend-99fd033258e0af8bfa7c26bc8cfb72f61f66676a.tar.bz2
fs-tracer-frontend-99fd033258e0af8bfa7c26bc8cfb72f61f66676a.zip
Pages: File: Add placeholder restore button
-rw-r--r--src/pages/File.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/File.tsx b/src/pages/File.tsx
index d82235d..4e06d01 100644
--- a/src/pages/File.tsx
+++ b/src/pages/File.tsx
@@ -85,7 +85,7 @@ export default function File(props: any) {
               <div className="block border rounded shadow py-5 px-5 bg-blue">
                 {files.map((currFile: FSTracerFile) => (
                   <div key={currFile.id}>
-                    <p>{currFile.absolute_path} - {currFile.timestamp} {currFile.id === file.id && "*"}</p>
+                    <span>{currFile.absolute_path} - {currFile.timestamp} {currFile.id === file.id && "*"}</span><button onClick={() => { }}><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><b>Restore</b></button>
                   </div>
                 ))
                 }