1
0
Fork 0

Make edit work again.

This commit is contained in:
Kitteh 2021-05-24 10:20:31 +01:00
parent fc66591cc3
commit 93a44cba17

View file

@ -54,7 +54,7 @@ export class KeyValueSecretEditPage extends Page {
loadingText.remove(); 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) }); const jar = CodeJar(editor, () => {}, { tab: " ".repeat(4) });
jar.updateCode(secretsJSON); jar.updateCode(secretsJSON);