diff --git a/src/pages/Secrets/KeyValue/KeyValueSecretsEdit.tsx b/src/pages/Secrets/KeyValue/KeyValueSecretsEdit.tsx index 64629f0..042146c 100644 --- a/src/pages/Secrets/KeyValue/KeyValueSecretsEdit.tsx +++ b/src/pages/Secrets/KeyValue/KeyValueSecretsEdit.tsx @@ -54,7 +54,7 @@ export class KeyValueSecretEditPage extends Page { loadingText.remove(); - const secretsJSON = JSON.stringify(sortedObjectMap(secretInfo), null, 4); + const secretsJSON = JSON.stringify(Object.fromEntries(sortedObjectMap(secretInfo)), null, 4); const jar = CodeJar(editor, () => {}, { tab: " ".repeat(4) }); jar.updateCode(secretsJSON);