BridgeSrv: do not strip base from state.location.url (#20161)

This commit is contained in:
Łukasz Szczęsny
2019-12-26 16:08:04 +01:00
committed by Torkel Ödegaard
parent 8477104925
commit 545b72da33

View File

@@ -51,7 +51,7 @@ export class BridgeSrv {
store.subscribe(() => {
const state = store.getState();
const angularUrl = this.$location.url();
const url = locationUtil.stripBaseFromUrl(state.location.url);
const url = state.location.url;
if (angularUrl !== url) {
this.$timeout(() => {
this.$location.url(url);