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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue