From ddb7a16fb8a22e21ba614f9e891bc0486156f115 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Fri, 18 Jun 2021 13:12:20 +0530 Subject: [PATCH] Make member private Signed-off-by: RMidhunSuresh --- src/domain/session/rightpanel/MemberTileViewModel.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/domain/session/rightpanel/MemberTileViewModel.js b/src/domain/session/rightpanel/MemberTileViewModel.js index 9ce14d78..fd5ba096 100644 --- a/src/domain/session/rightpanel/MemberTileViewModel.js +++ b/src/domain/session/rightpanel/MemberTileViewModel.js @@ -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; } }