persist restic cache and backup restore fixes

This commit is contained in:
jarek committed 2026-08-09 13:46:03 +02:00
1 parent 091adfca35
commit 905c4a004d
3 files changed
+29 -4

No files matched your search

+6 -2
View File
@@ -1047,8 +1047,12 @@
disabled={!canRun || restoring}
variant={mode === 'in-place' ? 'destructive' : 'default'}
>
{#if restoring}<Loader2 class="mr-1.5 h-4 w-4 animate-spin" />{:else}<Play class="mr-1.5 h-4 w-4" />{/if}
{mode === 'in-place' ? 'Overwrite & restore' : (postRestore !== 'none' ? 'Restore & start' : 'Restore')}
{#if restoring}<Loader2 class="mr-1.5 h-4 w-4 animate-spin" />{:else if targetPreviewLoading}<Loader2 class="mr-1.5 h-4 w-4 animate-spin" />{:else}<Play class="mr-1.5 h-4 w-4" />{/if}
{#if targetPreviewLoading && !restoring}
Checking target&hellip;
{:else}
{mode === 'in-place' ? 'Overwrite & restore' : (postRestore !== 'none' ? 'Restore & start' : 'Restore')}
{/if}
</Button>
{/if}
{/if}