diff --git a/src/pages/Secrets/KeyValue/KeyValueSecret.tsx b/src/pages/Secrets/KeyValue/KeyValueSecret.tsx index 7d1e511..c9f1a89 100644 --- a/src/pages/Secrets/KeyValue/KeyValueSecret.tsx +++ b/src/pages/Secrets/KeyValue/KeyValueSecret.tsx @@ -23,11 +23,7 @@ export class KVSecretVew extends Component { } if (isMultiLevelJSON) { - const jsonText = JSON.stringify( - sortedObjectMap(secretsMap as unknown as Record), - null, - 4, - ); + const jsonText = JSON.stringify(Object.fromEntries(secretsMap), null, 4); const highlightedJson = Prism.highlight(jsonText, Prism.languages.json, "json"); return (