Fix URI encoding and navigation issues
This commit is contained in:
1 parent
6ae9f06d64
commit
e2a87d3af3
3 files changed
+31
-27
No files matched your search
@@ -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}
|
||||
|
||||
@@ -54,7 +54,7 @@ const node_icon = node => {
|
||||
</tr>
|
||||
{#each state.children as child, index (child.path)}
|
||||
<a
|
||||
href={state.path_root+child.path}
|
||||
href={state.path_root+child.path_uri}
|
||||
on:click|preventDefault={() => {dispatch("node_click", index)}}
|
||||
class="node"
|
||||
class:node_selected={child.fm_selected}
|
||||
|
||||
Reference in new issue
Block a user