aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-07-14 14:23:52 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-07-14 14:23:52 -0400
commit0f7b8688b02aa6edcc9e8b0fac36860eee38e6f3 (patch)
tree652989f8f23869b376e1b4a5f4d0969d1a202e11
parent4b90e9ad980259b8aa11db3a8a77d5b69feba37b (diff)
Partially fixed url parsing bug
-rw-r--r--src/client/util/History.ts2
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}` : "");
};