diff --git a/src/domain/RootViewModel.js b/src/domain/RootViewModel.js index 15b9d19e..643655dc 100644 --- a/src/domain/RootViewModel.js +++ b/src/domain/RootViewModel.js @@ -35,9 +35,7 @@ export class RootViewModel extends ViewModel { async load() { this.track(this.navigation.observe("login").subscribe(() => this._applyNavigation())); this.track(this.navigation.observe("session").subscribe(() => this._applyNavigation())); - this.track(this.navigation.observe("sso").subscribe(() => { - this._applyNavigation(); - })); + this.track(this.navigation.observe("sso").subscribe(() => this._applyNavigation())); this._applyNavigation(true); }