We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05352f6 commit ff9c4d4Copy full SHA for ff9c4d4
ui/src/middlewares/syncLocationWithSearch.js
@@ -30,7 +30,7 @@ function isLocationSyncedWithSearchQuery(namespace, state) {
30
31
// TODO: move pathnameToNamespace logic to reducer (probably)
32
function pathnameToSearchNamespace(pathname) {
33
- return pathname.substring(1);
+ return pathname.split('/')[1];
34
}
35
36
// FIXME: this can be moved to reducer?
0 commit comments