diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/backup/export.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/backup/export.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/taler-wallet-core/src/operations/backup/export.ts b/packages/taler-wallet-core/src/operations/backup/export.ts index 05ef66883..12b309418 100644 --- a/packages/taler-wallet-core/src/operations/backup/export.ts +++ b/packages/taler-wallet-core/src/operations/backup/export.ts @@ -388,19 +388,19 @@ export async function exportBackup( } let propStatus: BackupProposalStatus; switch (prop.proposalStatus) { - case ProposalStatus.ACCEPTED: + case ProposalStatus.Accepted: return; - case ProposalStatus.DOWNLOADING: - case ProposalStatus.PROPOSED: + case ProposalStatus.Downloading: + case ProposalStatus.Proposed: propStatus = BackupProposalStatus.Proposed; break; - case ProposalStatus.PERMANENTLY_FAILED: + case ProposalStatus.PermanentlyFailed: propStatus = BackupProposalStatus.PermanentlyFailed; break; - case ProposalStatus.REFUSED: + case ProposalStatus.Refused: propStatus = BackupProposalStatus.Refused; break; - case ProposalStatus.REPURCHASE: + case ProposalStatus.Repurchase: propStatus = BackupProposalStatus.Repurchase; break; } |