Open invite panel from memberlist panel

This commit is contained in:
RMidhunSuresh 2023-08-21 17:12:06 +05:30
parent f4e73c25d5
commit bf32f2cc29
No known key found for this signature in database

View File

@ -54,4 +54,11 @@ export class MemberListViewModel extends ViewModel {
return members.mapValues(mapper, updater); 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);
}
} }