From 0d145a7255676f7a81d344dcaaf81e0e12df3b32 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 29 Jun 2022 08:27:02 -0500 Subject: stop sorting info and options --- src/web/src/components/System/Info/index.js | 2 +- src/web/src/components/System/Options/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/web/src/components/System/Info/index.js b/src/web/src/components/System/Info/index.js index 7068e047..a3342ea0 100644 --- a/src/web/src/components/System/Info/index.js +++ b/src/web/src/components/System/Info/index.js @@ -17,7 +17,7 @@ const Info = ({ state }) => { useEffect(() => { setTimeout(() => { - setContents(YAML.stringify(state, { simpleKeys: true, sortMapEntries: true })); + setContents(YAML.stringify(state, { simpleKeys: true, sortMapEntries: false })); }, 250); }, [state]); diff --git a/src/web/src/components/System/Options/index.js b/src/web/src/components/System/Options/index.js index 16928a29..d0872960 100644 --- a/src/web/src/components/System/Options/index.js +++ b/src/web/src/components/System/Options/index.js @@ -19,7 +19,7 @@ const Index = ({ options }) => { useEffect(() => { setTimeout(() => { - setContents(YAML.stringify(options, { simpleKeys: true, sortMapEntries: true })); + setContents(YAML.stringify(options, { simpleKeys: true, sortMapEntries: false })); }, 250); }, [options]); -- cgit v1.2.3