fix
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user