actually apply the /session/<id> url after login!

This commit is contained in:
Bruno Windels 2020-10-13 17:10:28 +02:00
parent e6ed518aef
commit 2333a959a2

View file

@ -100,6 +100,7 @@ export class RootViewModel extends ViewModel {
createSessionContainer: this._createSessionContainer,
ready: sessionContainer => {
const url = this.urlRouter.urlForSegment("session", sessionContainer.sessionId);
this.urlRouter.applyUrl(url);
this.urlRouter.history.replaceUrl(url);
this._showSession(sessionContainer);
},