diff options
| author | yipstanley <stanley_yip@brown.edu> | 2019-07-14 20:46:20 -0400 |
|---|---|---|
| committer | yipstanley <stanley_yip@brown.edu> | 2019-07-14 20:46:20 -0400 |
| commit | c39114a07f1710205b512391de3a115a93883311 (patch) | |
| tree | 49153465f4cbb8b70b3c583279d79bac6439f93d /src/client/util/History.ts | |
| parent | c4f324757c4ce3c9da077f5b10370f3b53cb3411 (diff) | |
| parent | 66f0d72f07d3cf28e01abd0d9b2659c951defcd9 (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
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 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}` : ""); }; |
