Only need to emit

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-08-06 13:06:38 +05:30
parent 974d9bf199
commit 86ddfc1e9e

View file

@ -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");
}