diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-14 14:23:52 -0400 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-14 14:23:52 -0400 |
commit | 0f7b8688b02aa6edcc9e8b0fac36860eee38e6f3 (patch) | |
tree | 652989f8f23869b376e1b4a5f4d0969d1a202e11 | |
parent | 4b90e9ad980259b8aa11db3a8a77d5b69feba37b (diff) |
Partially fixed url parsing bug
-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 1a807b581..cbf5b3fc8 100644 --- a/src/client/util/History.ts +++ b/src/client/util/History.ts @@ -135,7 +135,7 @@ export namespace HistoryUtil { } const queryObj = OmitKeys(state, keys).extract; const query: any = {}; - Object.keys(queryObj).forEach(key => query[key] = queryObj[key] === null ? null : queryObj[key]); + Object.keys(queryObj).forEach(key => query[key] = queryObj[key] === null ? null : JSON.stringify(queryObj[key])); const queryString = qs.stringify(query); return path + (queryString ? `?${queryString}` : ""); }; |