diff options
| author | bobzel <zzzman@gmail.com> | 2025-03-21 18:58:21 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-03-21 18:58:21 -0400 |
| commit | 7e4d793eaa7e5b6b564355a11fa02a5611645f20 (patch) | |
| tree | acab0bf2057a26b4daeead8ce8d4568afa167b2a /src/client/util/History.ts | |
| parent | 2d64242ce924a5ba18e3c8dd0a6efe54db2e3f9a (diff) | |
trying to improve how data / layout / root and templtae docs are accessed.
Diffstat (limited to 'src/client/util/History.ts')
| -rw-r--r-- | src/client/util/History.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/History.ts b/src/client/util/History.ts index 9728e3177..0df0ec337 100644 --- a/src/client/util/History.ts +++ b/src/client/util/History.ts @@ -94,7 +94,7 @@ export namespace HistoryUtil { } if (Array.isArray(value)) { } else if (parser === true || parser === 'json') { - value = JSON.parse(value); + value = value === 'undefined' ? undefined : JSON.parse(value); } else if (parser === 'none') { } else { value = parser(value); |
