Merge suggestion from Github

This commit is contained in:
RMidhunSuresh 2021-08-06 16:05:08 +05:30
commit bc8e6237d6

View file

@ -50,7 +50,7 @@ export class RightPanelViewModel extends ViewModel {
_hookUpdaterToSegment(segment, viewmodel, argCreator, failCallback) {
const observable = this.navigation.observe(segment);
const updater = this._setupUpdater(segment, viewmodel, argCreator, failCallback);
this.track(observable.subscribe(() => updater()));
this.track(observable.subscribe(updater));
}
_setupUpdater(segment, viewmodel, argCreator, failCallback) {