do not use selection, no need
This commit is contained in:
parent
d2563c1647
commit
78b5518185
@ -78,14 +78,12 @@ export function SecretSelectionScreen(): VNode {
|
||||
hideNext="Please select version to recover"
|
||||
>
|
||||
<p>Found versions:</p>
|
||||
{policies.map((x) => (
|
||||
{policies.map((version) => (
|
||||
<div>
|
||||
{x.policy_hash} / {x.secret_name}
|
||||
{version.policy_hash} / {version.secret_name}
|
||||
<button
|
||||
onClick={async () => {
|
||||
await reducer.transition("select_version", {
|
||||
selection: x,
|
||||
});
|
||||
await reducer.transition("select_version", version);
|
||||
}}
|
||||
>
|
||||
Recover
|
||||
|
Loading…
Reference in New Issue
Block a user