From 862e8569a9c2b3713ae977fc114a34e4f9f49767 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Tue, 3 Aug 2021 14:52:20 +0530 Subject: [PATCH] Describe what changed in emitChange() Signed-off-by: RMidhunSuresh --- src/domain/session/rightpanel/MemberDetailsViewModel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/domain/session/rightpanel/MemberDetailsViewModel.js b/src/domain/session/rightpanel/MemberDetailsViewModel.js index f10f3678..8f3d5add 100644 --- a/src/domain/session/rightpanel/MemberDetailsViewModel.js +++ b/src/domain/session/rightpanel/MemberDetailsViewModel.js @@ -46,13 +46,13 @@ export class MemberDetailsViewModel extends ViewModel { _onMemberChange() { this._member = this._observableMember.get(); - this.emitChange(); + this.emitChange("member"); } _onPowerLevelsChange() { const powerLevels = this._powerLevelsObservable.get(); this._powerLevel = powerLevels.getUserLevel(this._member.userId); - this.emitChange(); + this.emitChange("role"); } get avatarLetter() {