Fix URI encoding and navigation issues

This commit is contained in:
2023-04-19 19:47:08 +02:00
parent 6ae9f06d64
commit e2a87d3af3
3 changed files with 31 additions and 27 deletions

View File

@@ -48,7 +48,7 @@ const node_icon = node => {
<div class="gallery">
{#each state.children as child, index (child.path)}
<a class="file"
href={state.path_root+child.path}
href={state.path_root+child.path_uri}
on:click|preventDefault={() => {dispatch("node_click", index)}}
class:selected={child.fm_selected}
class:hidden={child.name.startsWith(".") && !show_hidden}