forked from mystiq/hydrogen-web
Make member private
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
7e72d57be7
commit
ddb7a16fb8
1 changed files with 6 additions and 2 deletions
|
@ -3,10 +3,14 @@ import {ViewModel} from "../../ViewModel.js";
|
|||
export class MemberTileViewModel extends ViewModel {
|
||||
constructor(options) {
|
||||
super(options);
|
||||
this.member = options.member;
|
||||
this._member = options.member;
|
||||
}
|
||||
|
||||
get displayName() {
|
||||
return this.member.displayName;
|
||||
return this._member.displayName;
|
||||
}
|
||||
|
||||
get userId() {
|
||||
return this._member.userId;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue