mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-29 13:41:38 +01:00
Merge suggestion from Github
This commit is contained in:
commit
bc8e6237d6
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user