From 86ddfc1e9ec4c2d3ebcf6a9001908950a562037d Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Fri, 6 Aug 2021 13:06:38 +0530 Subject: [PATCH] Only need to emit Signed-off-by: RMidhunSuresh --- src/domain/session/rightpanel/MemberDetailsViewModel.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/domain/session/rightpanel/MemberDetailsViewModel.js b/src/domain/session/rightpanel/MemberDetailsViewModel.js index d7b4e366..45f6005e 100644 --- a/src/domain/session/rightpanel/MemberDetailsViewModel.js +++ b/src/domain/session/rightpanel/MemberDetailsViewModel.js @@ -50,8 +50,6 @@ export class MemberDetailsViewModel extends ViewModel { } _onPowerLevelsChange() { - const powerLevels = this._powerLevelsObservable.get(); - this._powerLevel = powerLevels.getUserLevel(this._member.userId); this.emitChange("role"); }