Describe what changed in emitChange()

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-08-03 14:52:20 +05:30
parent a16c3aacab
commit 862e8569a9

View file

@ -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() {