forked from Alex/Pterodactyl-Panel
Merge pull request #2687 from occanowey/fix/file_manager_404
Dont add trailing slash to file manager rows
This commit is contained in:
commit
a07e6bd36f
@ -45,7 +45,7 @@ const Clickable: React.FC<{ file: FileObject }> = memo(({ file, children }) => {
|
||||
</div>
|
||||
:
|
||||
<NavLink
|
||||
to={`${match.url}/${file.isFile ? 'edit/' : ''}#${destination}`}
|
||||
to={`${match.url}${file.isFile ? '/edit' : ''}#${destination}`}
|
||||
css={tw`flex flex-1 text-neutral-300 no-underline p-3 overflow-hidden truncate`}
|
||||
onClick={onRowClick}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user