forked from mystiq/hydrogen-web
actually apply the /session/<id> url after login!
This commit is contained in:
parent
e6ed518aef
commit
2333a959a2
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ export class RootViewModel extends ViewModel {
|
||||||
createSessionContainer: this._createSessionContainer,
|
createSessionContainer: this._createSessionContainer,
|
||||||
ready: sessionContainer => {
|
ready: sessionContainer => {
|
||||||
const url = this.urlRouter.urlForSegment("session", sessionContainer.sessionId);
|
const url = this.urlRouter.urlForSegment("session", sessionContainer.sessionId);
|
||||||
|
this.urlRouter.applyUrl(url);
|
||||||
this.urlRouter.history.replaceUrl(url);
|
this.urlRouter.history.replaceUrl(url);
|
||||||
this._showSession(sessionContainer);
|
this._showSession(sessionContainer);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue