anastasis-core: fix transition

This commit is contained in:
Florian Dold 2021-11-02 17:31:16 +01:00
parent 03518ced48
commit f4ec05c33a
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 1 additions and 2 deletions

View File

@ -1194,7 +1194,7 @@ const backupTransitions: Record<
...transition("delete_policy", codecForAny(), deletePolicy), ...transition("delete_policy", codecForAny(), deletePolicy),
}, },
[BackupStates.SecretEditing]: { [BackupStates.SecretEditing]: {
...transitionBackupJump("back", BackupStates.PoliciesPaying), ...transitionBackupJump("back", BackupStates.PoliciesReviewing),
...transition("next", codecForAny(), uploadSecret), ...transition("next", codecForAny(), uploadSecret),
...transition("enter_secret", codecForAny(), enterSecret), ...transition("enter_secret", codecForAny(), enterSecret),
...transition( ...transition(

View File

@ -6,7 +6,6 @@ import {
codecForNumber, codecForNumber,
codecForString, codecForString,
codecForTimestamp, codecForTimestamp,
Duration,
Timestamp, Timestamp,
} from "@gnu-taler/taler-util"; } from "@gnu-taler/taler-util";
import { KeyShare } from "./crypto.js"; import { KeyShare } from "./crypto.js";