mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
Open invite panel from memberlist panel
This commit is contained in:
parent
f4e73c25d5
commit
bf32f2cc29
@ -54,4 +54,11 @@ export class MemberListViewModel extends ViewModel {
|
||||
return members.mapValues(mapper, updater);
|
||||
}
|
||||
|
||||
openInvitePanel() {
|
||||
let path = this.navigation.path.until("room");
|
||||
path = path.with(this.navigation.segment("right-panel", true));
|
||||
path = path.with(this.navigation.segment("invite", true));
|
||||
this.navigation.applyPath(path);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user