diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-06-29 08:27:02 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-06-29 08:27:02 -0500 |
| commit | 0d145a7255676f7a81d344dcaaf81e0e12df3b32 (patch) | |
| tree | 7549edca2b9df75e84f92aff3a8e3b6adce08117 /src | |
| parent | 77df3572c381150dc60454be03ca3176a940a628 (diff) | |
| download | slskd-0d145a7255676f7a81d344dcaaf81e0e12df3b32.tar.gz | |
stop sorting info and options
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/src/components/System/Info/index.js | 2 | ||||
| -rw-r--r-- | src/web/src/components/System/Options/index.js | 2 |
2 files changed, 2 insertions, 2 deletions
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]); |
