mirror of
https://github.com/prymitive/karma
synced 2026-05-15 04:06:41 +00:00
fix(ui): fix empty string handling in search param parsing code, make it more testable
This commit is contained in:
@@ -29,7 +29,7 @@ class App extends Component {
|
||||
let filters;
|
||||
|
||||
// parse and decode request query args
|
||||
const p = DecodeLocationSearch();
|
||||
const p = DecodeLocationSearch(window.location.search);
|
||||
|
||||
// p.defaultsUsed means that unsee URI didn't have ?q=foo query args
|
||||
if (p.defaultsUsed) {
|
||||
|
||||
Reference in New Issue
Block a user