feat: Implement recursive storage listing and directory browsing for backups, and add a migration option to fix cross-filters.
This commit is contained in:
@@ -148,7 +148,10 @@
|
||||
{#each currentPath.split('/').slice(1) as part, i}
|
||||
<span class="mx-2">/</span>
|
||||
<button
|
||||
on:click={() => { currentPath = currentPath.split('/').slice(0, i + 1).join('/'); loadFiles(); }}
|
||||
on:click={() => {
|
||||
currentPath = currentPath.split('/').slice(0, i + 2).join('/');
|
||||
loadFiles();
|
||||
}}
|
||||
class="hover:text-indigo-600 capitalize"
|
||||
>
|
||||
{part}
|
||||
@@ -198,7 +201,7 @@
|
||||
<svg class="h-4 w-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 19l-7-7m0 0l7-7m-7 7h18" />
|
||||
</svg>
|
||||
Back
|
||||
{$t.common?.back}
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -219,4 +222,4 @@
|
||||
<!-- [/SECTION: TEMPLATE] -->
|
||||
|
||||
|
||||
<!-- [/DEF:StoragePage:Component] -->
|
||||
<!-- [/DEF:StoragePage:Component] -->
|
||||
|
||||
Reference in New Issue
Block a user