Skip to content

Commit 8fbda35

Browse files
committed
feat: add busy states
1 parent 1ab7f3c commit 8fbda35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/desktop/views/update-stronghold/views/UpdateBackupView.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,13 @@
2626
2727
async function onBackupClick(): Promise<void> {
2828
try {
29+
busy = true
2930
await exportStronghold(password, handleExportStrongholdResponse)
3031
onAdvanceView()
3132
} catch (err) {
3233
console.error(err)
34+
} finally {
35+
busy = false
3336
}
3437
}
3538

0 commit comments

Comments
 (0)