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 {
|
export class MemberTileViewModel extends ViewModel {
|
||||||
constructor(options) {
|
constructor(options) {
|
||||||
super(options);
|
super(options);
|
||||||
this.member = options.member;
|
this._member = options.member;
|
||||||
}
|
}
|
||||||
|
|
||||||
get displayName() {
|
get displayName() {
|
||||||
return this.member.displayName;
|
return this._member.displayName;
|
||||||
|
}
|
||||||
|
|
||||||
|
get userId() {
|
||||||
|
return this._member.userId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue