This commit is contained in:
2024-09-10 18:29:02 +00:00
parent 4e6f106649
commit 903e558850

View File

@@ -222,7 +222,9 @@ const Index = () => {
<div className="w-64 text-left"> <div className="w-64 text-left">
{file.attributes.is_file ? ( {file.attributes.is_file ? (
<a <a
href={`/files/edit?serverid=${serverId}&path=${path}/${file.attributes.name}`} href={`/files/edit?serverid=${serverId}&path=${
path != "/" ? path : ""
}/${file.attributes.name}`}
> >
{file.attributes.name} {file.attributes.name}
</a> </a>