Remove unnecessary braces

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-08-01 20:41:57 +05:30
parent 0af27fc8dd
commit ce5fdd465c

View file

@ -35,9 +35,7 @@ export class RootViewModel extends ViewModel {
async load() { async load() {
this.track(this.navigation.observe("login").subscribe(() => this._applyNavigation())); this.track(this.navigation.observe("login").subscribe(() => this._applyNavigation()));
this.track(this.navigation.observe("session").subscribe(() => this._applyNavigation())); this.track(this.navigation.observe("session").subscribe(() => this._applyNavigation()));
this.track(this.navigation.observe("sso").subscribe(() => { this.track(this.navigation.observe("sso").subscribe(() => this._applyNavigation()));
this._applyNavigation();
}));
this._applyNavigation(true); this._applyNavigation(true);
} }