Add link to open member details

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-07-22 19:57:25 +05:30
parent 7dacbdb700
commit 65b1a1958a

View file

@ -30,6 +30,10 @@ export class MemberTileViewModel extends ViewModel {
return this._nameChanged;
}
get detailsUrl() {
return `${this.urlCreator.urlUntilSegment("room")}/member/${this._member.userId}`;
}
_updatePreviousName(newName) {
const currentName = this._member.name;
if (currentName !== newName) {