mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
Add method to show join room view
This commit is contained in:
parent
84920622e3
commit
f1b86e3532
@ -77,6 +77,10 @@ export class LeftPanelViewModel extends ViewModel {
|
||||
this.navigation.push("create-room");
|
||||
}
|
||||
|
||||
showJoinRoomView() {
|
||||
this.navigation.push("join-room");
|
||||
}
|
||||
|
||||
_setupNavigation() {
|
||||
const roomObservable = this.navigation.observe("room");
|
||||
this.track(roomObservable.subscribe(roomId => this._open(roomId)));
|
||||
|
Loading…
Reference in New Issue
Block a user