Use url params for explore state

- putting state in the path components led to 400 on reload
- use `/explore?state=JSON` instead
This commit is contained in:
David Kaltschmidt
2018-07-17 12:56:05 +02:00
parent a1f0dffe01
commit c6e9ffb168
5 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ export class KeybindingSrv {
range,
};
const exploreState = encodePathComponent(JSON.stringify(state));
this.$location.url(`/explore/${exploreState}`);
this.$location.url(`/explore?state=${exploreState}`);
}
}
});